ports/96173: [MAINTAINER] devel/p5-Locale-Maketext-Simple: fix build on 4.x
Rong-En Fan
rafan at infor.org
Sun Apr 23 02:20:14 UTC 2006
>Number: 96173
>Category: ports
>Synopsis: [MAINTAINER] devel/p5-Locale-Maketext-Simple: 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: Sun Apr 23 02:20:13 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:
On 4.x, we have Perl 5.005 and it fails on Makefile.PL.
Though this module does not advertise it requires newer perl,
I think it's better to make it build on old 4.x than simply mark
BROKEN.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
Require perl from ports on 4.x (and 5.x before perl is removed
from base).
--- p5-Locale-Maketext-Simple-0.13.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/p5-Locale-Maketext-Simple/Makefile /home/rafan/tmp/ports/p5-Locale-Maketext-Simple/Makefile
--- /usr/ports/devel/p5-Locale-Maketext-Simple/Makefile Wed Apr 19 00:02:23 2006
+++ /home/rafan/tmp/ports/p5-Locale-Maketext-Simple/Makefile Sat Apr 22 22:17:00 2006
@@ -19,4 +19,11 @@
MAN3= Locale::Maketext::Simple.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# Makefile.PL fails on Perl < 5.6, workaround
+.if ${OSVERSION} < 500036
+USE_PERL5= yes
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Locale-Maketext-Simple-0.13.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list