ports/70538: [PATCH] devel/Tree-Simple: add IGNORE for perl version < 5.6
Cheng-Lung Sung
clsung at tw.freebsd.org
Mon Aug 16 14:20:26 UTC 2004
>Number: 70538
>Category: ports
>Synopsis: [PATCH] devel/Tree-Simple: add IGNORE for perl version < 5.6
>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 Aug 16 14:20:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 4.10-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004
>Description:
- this port does not build under perl 5.00503
- add new DEPENDS
- add WWW in pkg-descr
- add files in pkg-plist
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-Tree-Simple-1.07.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/p5-Tree-Simple/Makefile /home/clsung/p5-Tree-Simple/Makefile
--- /usr/ports/devel/p5-Tree-Simple/Makefile Tue Aug 3 05:31:56 2004
+++ /home/clsung/p5-Tree-Simple/Makefile Mon Aug 16 22:06:47 2004
@@ -15,6 +15,9 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A simple tree object
+BUILD_DEPENDS= ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Tree::Simple.3 Tree::Simple::Visitor.3
@@ -24,6 +27,9 @@
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS+= ${BUILD_DEPENDS}
+.endif
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/p5-Tree-Simple/pkg-descr /home/clsung/p5-Tree-Simple/pkg-descr
--- /usr/ports/devel/p5-Tree-Simple/pkg-descr Wed Jul 7 21:20:11 2004
+++ /home/clsung/p5-Tree-Simple/pkg-descr Mon Aug 16 22:10:10 2004
@@ -4,3 +4,5 @@
children (who themselves may have children, and so on). Every
Tree::Simple object also has siblings, as they are just the children of
their immediate parent.
+
+WWW: http://search.cpan.org/dist/Tree-Simple/
diff -ruN --exclude=CVS /usr/ports/devel/p5-Tree-Simple/pkg-plist /home/clsung/p5-Tree-Simple/pkg-plist
--- /usr/ports/devel/p5-Tree-Simple/pkg-plist Wed Jul 7 21:20:11 2004
+++ /home/clsung/p5-Tree-Simple/pkg-plist Mon Aug 16 22:08:02 2004
@@ -1,4 +1,7 @@
%%SITE_PERL%%/Tree/Simple.pm
%%SITE_PERL%%/Tree/Simple/Visitor.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Simple/.packlist
@dirrm %%SITE_PERL%%/Tree/Simple
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Simple
@unexec rmdir %D/%%SITE_PERL%%/Tree 2>/dev/null || true
+ at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree 2>/dev/null || true
--- p5-Tree-Simple-1.07.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list