diff options
Diffstat (limited to 'net-mgmt/p5-Net-SNMP/Makefile')
-rw-r--r-- | net-mgmt/p5-Net-SNMP/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile index 35a2dad3633..7c90a13c5ab 100644 --- a/net-mgmt/p5-Net-SNMP/Makefile +++ b/net-mgmt/p5-Net-SNMP/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-SNMP PORTVERSION= 5.0.1 +PORTREVISION= 1 CATEGORIES= net-mgmt perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net @@ -16,7 +17,6 @@ MAINTAINER= lth@FreeBSD.org COMMENT= A perl module for SNMP... Net::SNMP 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 \ ${SITE_PERL}/Digest/HMAC.pm:${PORTSDIR}/security/p5-Digest-HMAC @@ -32,5 +32,8 @@ MAN3= Net::SNMP.3 .if ${PERL_LEVEL} < 500600 IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again .endif +.if ${PERL_LEVEL} < 500800 +RUN_DEPENDS+= ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 +.endif .include <bsd.port.post.mk> |