aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Net-SNMP
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-11-05 03:04:20 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-11-05 03:04:20 +0000
commit104e8837ca4f8a07e831550dc1c09db8833c9cb9 (patch)
tree99e4dc63fa6735036b02f2900baa401c4c996079 /net-mgmt/p5-Net-SNMP
parenteda420f62cadea71844118f0afc80d2515ef22c3 (diff)
downloadports-104e8837ca4f8a07e831550dc1c09db8833c9cb9.tar.gz
ports-104e8837ca4f8a07e831550dc1c09db8833c9cb9.zip
Reduce dependency on p5-Digest-MD5 with perl-5.8.
No response from: maintainer
Notes
Notes: svn path=/head/; revision=120829
Diffstat (limited to 'net-mgmt/p5-Net-SNMP')
-rw-r--r--net-mgmt/p5-Net-SNMP/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile
index 35a2dad3633f..7c90a13c5abc 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>