From a38e69cbbba5e18c016b46ba966a72f27c163fd2 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 23 Feb 2003 20:46:32 +0000 Subject: [PATCH] Mark port IGNORE instead of BROKEN for perl < 5.6 to keep bento from complaining. Now uses new PERL makefile variables. PR: ports/48595 Submitted by: Lars Thegler --- net-mgmt/p5-Net-SNMP/Makefile | 9 ++------- net-mgmt/p5-Net-SNMP3/Makefile | 9 ++------- net/p5-Net-SNMP/Makefile | 9 ++------- net/p5-Net-SNMP3/Makefile | 9 ++------- 4 files changed, 8 insertions(+), 28 deletions(-) diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile index 83740dae9a3c..8b091b0dc3b7 100644 --- a/net-mgmt/p5-Net-SNMP/Makefile +++ b/net-mgmt/p5-Net-SNMP/Makefile @@ -23,16 +23,11 @@ RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${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 diff --git a/net-mgmt/p5-Net-SNMP3/Makefile b/net-mgmt/p5-Net-SNMP3/Makefile index 83740dae9a3c..8b091b0dc3b7 100644 --- a/net-mgmt/p5-Net-SNMP3/Makefile +++ b/net-mgmt/p5-Net-SNMP3/Makefile @@ -23,16 +23,11 @@ RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${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 diff --git a/net/p5-Net-SNMP/Makefile b/net/p5-Net-SNMP/Makefile index 83740dae9a3c..8b091b0dc3b7 100644 --- a/net/p5-Net-SNMP/Makefile +++ b/net/p5-Net-SNMP/Makefile @@ -23,16 +23,11 @@ RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${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 diff --git a/net/p5-Net-SNMP3/Makefile b/net/p5-Net-SNMP3/Makefile index 83740dae9a3c..8b091b0dc3b7 100644 --- a/net/p5-Net-SNMP3/Makefile +++ b/net/p5-Net-SNMP3/Makefile @@ -23,16 +23,11 @@ RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${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