Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 16:49:09 +0800 (CST)
From:      Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102067: [MAINTAINER] math/p5-Data-Float: ignore old perl
Message-ID:  <200608150849.k7F8n9lQ017696@Pluto.CDPA.nsysu.edu.tw>
Resent-Message-ID: <200608150850.k7F8oGRg094419@freefall.freebsd.org>

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

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



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