aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Module-Signature/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Module-Signature/Makefile')
-rw-r--r--security/p5-Module-Signature/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile
index 54cb2525ea6e..cb3759a7d125 100644
--- a/security/p5-Module-Signature/Makefile
+++ b/security/p5-Module-Signature/Makefile
@@ -25,4 +25,11 @@ PERL_CONFIGURE= yes
MAN1= cpansign.1
MAN3= Module::Signature.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
+RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
+.include <bsd.port.post.mk>