aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/pftabled
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-09-22 00:08:11 +0800
committermm <mm@FreeBSD.org>2010-09-22 00:08:11 +0800
commit66250384aac316bb7c7e78e17a9f60ee4eef0d73 (patch)
treeac1208411d08a7a297bc4f544163f0a43e756b59 /net-mgmt/pftabled
parent48de0cba3d21dae83e5b1fed09e41e79380ef9ec (diff)
downloadfreebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.gz
freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.zst
freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.zip
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Diffstat (limited to 'net-mgmt/pftabled')
-rw-r--r--net-mgmt/pftabled/Makefile5
1 files changed, 4 insertions, 1 deletions
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: