aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Module-Signature
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-04-24 02:04:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-04-24 02:04:04 +0000
commit0ec832977983d4f5ac4f613a9df941a3ca98069f (patch)
treed54c3eec1dd7bee5943f62472c0fe89992499190 /security/p5-Module-Signature
parent27dd163872d0e90009625a3e1549686f80a6ac0d (diff)
downloadports-0ec832977983d4f5ac4f613a9df941a3ca98069f.tar.gz
ports-0ec832977983d4f5ac4f613a9df941a3ca98069f.zip
Notes
Diffstat (limited to 'security/p5-Module-Signature')
-rw-r--r--security/p5-Module-Signature/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile
index 46e8b35d9d5c..878f268f556d 100644
--- a/security/p5-Module-Signature/Makefile
+++ b/security/p5-Module-Signature/Makefile
@@ -14,7 +14,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Module signature file manipulation
-RUN_DEPENDS= p5-PAR-Dist:${PORTSDIR}/devel/p5-PAR-Dist \
+RUN_DEPENDS= p5-PAR-Dist>=0:${PORTSDIR}/devel/p5-PAR-Dist \
${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
BUILD_DEPENDS= ${RUN_DEPENDS}
@@ -23,4 +23,9 @@ PERL_CONFIGURE= yes
MAN1= cpansign.1
MAN3= Module::Signature.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA  
+.endif
+.include <bsd.port.post.mk>