ports/96502: [MAINTAINER] devel/p5-Module-ScanDeps: fix build on 4.x

Rong-En Fan rafan at infor.org
Sat Apr 29 08:50:14 UTC 2006


>Number:         96502
>Category:       ports
>Synopsis:       [MAINTAINER] devel/p5-Module-ScanDeps: fix build on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 29 08:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD woodstock.rafan.org 7.0-CURRENT FreeBSD 7.0-CURRENT #21: Tue Apr 11 22:22:56 EDT 2006
>Description:
requires newer perl to build and run. I have a patch to make it
build on perl 5.005, but then the module can not load. already
informed the author. until a fix comes, make it requires newer perl.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Module-ScanDeps-0.58.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/p5-Module-ScanDeps/Makefile /home/rafan/tmp/ports/p5-Module-ScanDeps/Makefile
--- /usr/ports/devel/p5-Module-ScanDeps/Makefile	Wed Apr 26 20:17:38 2006
+++ /home/rafan/tmp/ports/p5-Module-ScanDeps/Makefile	Sat Apr 29 04:39:28 2006
@@ -24,4 +24,11 @@
 	@${REINPLACE_CMD} -e \
 		's|/usr/bin/perl|${PERL}|' ${WRKSRC}/script/scandeps.pl
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# workaround
+.if ${PERL_LEVEL} < 500600
+IGNORE=		requires perl 5.6.0 or above to build and run
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Module-ScanDeps-0.58.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list