ports/118263: [patch] ports: textproc/p5-Text-Reform needs devel/p5-version dependency
Wei-Yu Chen
weiyu.pr at csie.nctu.edu.tw
Mon Nov 26 18:20:02 UTC 2007
>Number: 118263
>Category: ports
>Synopsis: [patch] ports: textproc/p5-Text-Reform needs devel/p5-version dependency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 26 18:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Wei-Yu Chen
>Release: FreeBSD 6.2-RELEASE-p8 i386
>Organization:
Internet Lab, NTHU
>Environment:
System: FreeBSD alpha3.cs.nthu.edu.tw 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #10: Mon Nov 19 17:28:33 CST 2007 root at alpha3.cs.nthu.edu.tw:/usr/obj/usr/src/sys/LAB745 i386
>Description:
I install p5-WWW-Wikipedia which depends on p5-Text-Reform in an environment without p5-version and
run the program inside p5-WWW-Wikipedia, it show the lack of the dependency p5-version.
After I install p5-version, the program runs normally.
I try to see /usr/local/lib/perl5/site_perl/5.8.8/Text/Reform.pm
The following line there:
use version; $VERSION = qv('1.12.2');
As I think, it needs adding p5-version dependency for p5-Text-Reform.
>How-To-Repeat:
install p5-Text-Reform without p5-version
>Fix:
# port diff
diff -ruN --exclude=CVS /usr/ports/textproc/p5-Text-Reform/Makefile /home/weiyu/freebsd/pr/p5-Text-Reform_new/Makefile
--- /usr/ports/textproc/p5-Text-Reform/Makefile Sat Oct 27 05:07:08 2007
+++ /home/weiyu/freebsd/pr/p5-Text-Reform_new/Makefile Tue Nov 27 00:38:02 2007
@@ -16,6 +16,8 @@
MAINTAINER= mat at FreeBSD.org
COMMENT= Manual text wrapping and reformatting
+RUN_DEPENDS= ${SITE_PERL}/mach/version.pm:${PORTSDIR}/devel/p5-version
+
PERL_CONFIGURE= yes
MAN3= Text::Reform.3
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list