aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Digest-SHA1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Digest-SHA1/Makefile')
-rw-r--r--security/p5-Digest-SHA1/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/p5-Digest-SHA1/Makefile b/security/p5-Digest-SHA1/Makefile
index bc49602ad0a8..00b9670922e3 100644
--- a/security/p5-Digest-SHA1/Makefile
+++ b/security/p5-Digest-SHA1/Makefile
@@ -18,4 +18,11 @@ PERL_CONFIGURE= yes
MAN3= Digest::SHA1.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500803
+BUILD_DEPENDS+= p5-Digest>=1.00:${PORTSDIR}/security/p5-Digest
+RUN_DEPENDS+= p5-Digest>=1.00:${PORTSDIR}/security/p5-Digest
+.endif
+
+.include <bsd.port.post.mk>