diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-08 04:13:33 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-08 04:13:33 +0000 |
commit | 0a16c5b39238923bda742bb2db5b6a63f95002c9 (patch) | |
tree | b909f493493afe1b0ed604e4e83d398b2f8dae71 | |
parent | Ports needed perl to install -> USE_PERL5=yes (diff) |
net/p5-Net-SNMP requires perl 5.6.0 or newer. This diff marks
the port BROKEN under older perls.
PR: ports/44749
Submitted by: Lars Thegler <lars@thegler.dk>
Notes
Notes:
svn path=/head/; revision=69710
-rw-r--r-- | net-mgmt/p5-Net-SNMP/Makefile | 12 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP3/Makefile | 12 | ||||
-rw-r--r-- | net/p5-Net-SNMP/Makefile | 12 | ||||
-rw-r--r-- | net/p5-Net-SNMP3/Makefile | 12 |
4 files changed, 44 insertions, 4 deletions
diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile index e42b78386ee7..519a89420ada 100644 --- a/net-mgmt/p5-Net-SNMP/Makefile +++ b/net-mgmt/p5-Net-SNMP/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-SNMP PORTVERSION= 4.0.3 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net @@ -14,6 +15,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= lars@thegler.dk +.include <bsd.port.pre.mk> + RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${ARCH_PERL}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ @@ -24,8 +27,15 @@ 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" +.endif + MAN1= snmpkey.1 MAN3= Net::SNMP.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net-mgmt/p5-Net-SNMP3/Makefile b/net-mgmt/p5-Net-SNMP3/Makefile index e42b78386ee7..519a89420ada 100644 --- a/net-mgmt/p5-Net-SNMP3/Makefile +++ b/net-mgmt/p5-Net-SNMP3/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-SNMP PORTVERSION= 4.0.3 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net @@ -14,6 +15,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= lars@thegler.dk +.include <bsd.port.pre.mk> + RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${ARCH_PERL}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ @@ -24,8 +27,15 @@ 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" +.endif + MAN1= snmpkey.1 MAN3= Net::SNMP.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/p5-Net-SNMP/Makefile b/net/p5-Net-SNMP/Makefile index e42b78386ee7..519a89420ada 100644 --- a/net/p5-Net-SNMP/Makefile +++ b/net/p5-Net-SNMP/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-SNMP PORTVERSION= 4.0.3 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net @@ -14,6 +15,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= lars@thegler.dk +.include <bsd.port.pre.mk> + RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${ARCH_PERL}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ @@ -24,8 +27,15 @@ 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" +.endif + MAN1= snmpkey.1 MAN3= Net::SNMP.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/p5-Net-SNMP3/Makefile b/net/p5-Net-SNMP3/Makefile index e42b78386ee7..519a89420ada 100644 --- a/net/p5-Net-SNMP3/Makefile +++ b/net/p5-Net-SNMP3/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-SNMP PORTVERSION= 4.0.3 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net @@ -14,6 +15,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= lars@thegler.dk +.include <bsd.port.pre.mk> + RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${ARCH_PERL}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ @@ -24,8 +27,15 @@ 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" +.endif + MAN1= snmpkey.1 MAN3= Net::SNMP.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |