aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Data-Throttler-Memcached/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Data-Throttler-Memcached/Makefile')
-rw-r--r--devel/p5-Data-Throttler-Memcached/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-Data-Throttler-Memcached/Makefile b/devel/p5-Data-Throttler-Memcached/Makefile
index f09d0f57f17f..fb9bb4b86aa6 100644
--- a/devel/p5-Data-Throttler-Memcached/Makefile
+++ b/devel/p5-Data-Throttler-Memcached/Makefile
@@ -27,4 +27,11 @@ PERL_CONFIGURE= yes
MAN3= Data::Throttler::Memcached.3 \
Data::Throttler::BucketChain::Memcached.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>