Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 04:41:36 -0400 (EDT)
From:      Rong-En Fan <rafan@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96502: [MAINTAINER] devel/p5-Module-ScanDeps: fix build on 4.x
Message-ID:  <200604290841.k3T8fa2e080736@woodstock.rafan.org>
Resent-Message-ID: <200604290850.k3T8oDCp024622@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604290841.k3T8fa2e080736>