aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-Tom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Class-Tom/Makefile')
-rw-r--r--devel/p5-Class-Tom/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-Class-Tom/Makefile b/devel/p5-Class-Tom/Makefile
index 7e2a157ff38c..6eb4ffc39406 100644
--- a/devel/p5-Class-Tom/Makefile
+++ b/devel/p5-Class-Tom/Makefile
@@ -23,4 +23,11 @@ PERL_CONFIGURE= yes
MAN3= Class::Tom.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+BUILD_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
+.include <bsd.port.post.mk>