ports/102067: [MAINTAINER] math/p5-Data-Float: ignore old perl
Jin-Shan Tseng
tjs at cdpa.nsysu.edu.tw
Tue Aug 15 08:50:32 UTC 2006
>Number: 102067
>Category: ports
>Synopsis: [MAINTAINER] math/p5-Data-Float: ignore old perl
>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: Tue Aug 15 08:50:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jin-Shan Tseng
>Release: FreeBSD 6.1-STABLE i386
>Organization:
NCHC
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Aug 14 14:48:58 CST 2006
>Description:
- can't build on perl level < 5.6
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Data-Float-0.003_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/p5-Data-Float/Makefile /root/p5-Data-Float/Makefile
--- /usr/ports/math/p5-Data-Float/Makefile Wed Aug 9 15:26:47 2006
+++ /root/p5-Data-Float/Makefile Tue Aug 15 16:43:16 2006
@@ -7,6 +7,7 @@
PORTNAME= Data-Float
PORTVERSION= 0.003
+PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Data
@@ -19,4 +20,10 @@
MAN3= Data::Float.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Data-Float-0.003_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list