summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
commit17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch)
treee856fa025c5b15bbef21f621e347c51780662a47 /net-mgmt
parent- Update to 1.7.5.1 (diff)
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Notes
Notes: svn path=/head/; revision=261560
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/netdisco/Makefile5
-rw-r--r--net-mgmt/pftabled/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/net-mgmt/netdisco/Makefile b/net-mgmt/netdisco/Makefile
index c67f9bc613ff..38670d481476 100644
--- a/net-mgmt/netdisco/Makefile
+++ b/net-mgmt/netdisco/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
${SITE_PERL}/DB_File/Lock.pm:${PORTSDIR}/devel/p5-DB_File-Lock \
${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
${SITE_PERL}/Net/NBName.pm:${PORTSDIR}/net/p5-Net-NBName \
- ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \
${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test \
${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
@@ -56,6 +55,10 @@ CONFIG_FILES= netdisco.conf netdisco.crontab netdisco-topology.txt \
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
.if ${PERL_LEVEL} < 500903
RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
.endif
diff --git a/net-mgmt/pftabled/Makefile b/net-mgmt/pftabled/Makefile
index 4b0444cacc57..a30c725edef2 100644
--- a/net-mgmt/pftabled/Makefile
+++ b/net-mgmt/pftabled/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pftabled
PORTVERSION= 1.08
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.wolfermann.org/
@@ -26,7 +27,9 @@ OPTIONS= PERLC "A Sample Perl Client" On
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_PERLC)
-RUN_DEPEND= p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5
+. if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+. endif
PLIST_FILES+= bin/pftabled-client.pl bin/pftabled-client.py
post-install: