Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2003 15:23:08 +0100 (CET)
From:      Lars Thegler <lars@thegler.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lars@thegler.dk
Subject:   ports/48595: Mark port IGNORE instead of BROKEN for perl < 5.6
Message-ID:  <20030223142308.74133401A@dask.thegler.dk>

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

>Number:         48595
>Category:       ports
>Synopsis:       Mark port IGNORE instead of BROKEN for perl < 5.6
>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 Feb 23 06:30:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.7-STABLE FreeBSD 4.7-STABLE #8: Sun Feb 9 10:50:10 CET 2003 root@dask.thegler.dk:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Mark port IGNORE instead of BROKEN for perl < 5.6 to keep bento from complaining.
Now uses new PERL makefile variables.

>How-To-Repeat:
>Fix:

--- p5-Net-SNMP.diff begins here ---
diff -Naur /usr/ports/net/p5-Net-SNMP/Makefile p5-Net-SNMP-4.0.3_1_A/Makefile
--- /usr/ports/net/p5-Net-SNMP/Makefile	Sat Feb 22 07:05:54 2003
+++ p5-Net-SNMP-4.0.3_1_A/Makefile	Sun Feb 23 15:16:06 2003
@@ -23,16 +23,11 @@
 		${ARCH_PERL}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
 		${SITE_PERL}/Digest/HMAC.pm:${PORTSDIR}/security/p5-Digest-HMAC
 
-USE_PERL5=	yes
 PERL_CONFIGURE=	yes
-SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
 ARCH_PERL=	${SITE_PERL}/${PERL_ARCH}
 
-PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|}
-PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|}
-
-.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 6
-BROKEN=		"This port requires Perl v5.6.0 or newer"
+.if ${PERL_LEVEL} < 500600
+IGNORE=         Port requires perl 5.6.x or later. Install lang/perl5 then try again
 .endif
 
 MAN1=		snmpkey.1
--- p5-Net-SNMP.diff ends here ---

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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