aboutsummaryrefslogtreecommitdiff
path: root/dns
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 /dns
parentb4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff)
downloadports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz
ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/p5-Net-DNS/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/p5-Net-DNS/Makefile b/dns/p5-Net-DNS/Makefile
index 042a84c9d7eb..c1bf8f2daefa 100644
--- a/dns/p5-Net-DNS/Makefile
+++ b/dns/p5-Net-DNS/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Net-DNS
PORTVERSION= 0.66
+PORTREVISION= 1
CATEGORIES= dns net perl5 ipv6
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -16,7 +17,6 @@ COMMENT= Perl5 interface to the DNS resolver, and dynamic updates
# Warnings during build are harmless, the port does not need these to build
RUN_DEPENDS= ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP \
- ${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA \
${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
MAKE_JOBS_SAFE= yes
@@ -52,6 +52,10 @@ OPTIONS= IPV6 "Enable functionality over IPv6 transport" on
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
.if !defined(WITHOUT_IPV6)
RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
.endif