aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Authen-Simple/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Authen-Simple/Makefile')
-rw-r--r--security/p5-Authen-Simple/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/p5-Authen-Simple/Makefile b/security/p5-Authen-Simple/Makefile
index 34ee94c69ada..45a536cf442d 100644
--- a/security/p5-Authen-Simple/Makefile
+++ b/security/p5-Authen-Simple/Makefile
@@ -29,4 +29,10 @@ MAN3= Authen::Simple.3 \
PERL_MODBUILD= yes
-.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>