aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-MLDBM-Sync/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-MLDBM-Sync/Makefile')
-rw-r--r--databases/p5-MLDBM-Sync/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/p5-MLDBM-Sync/Makefile b/databases/p5-MLDBM-Sync/Makefile
index c2e3df3e91a1..7b4ff2605c1b 100644
--- a/databases/p5-MLDBM-Sync/Makefile
+++ b/databases/p5-MLDBM-Sync/Makefile
@@ -23,4 +23,11 @@ PERL_CONFIGURE= yes
MAN3= MLDBM::Sync.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
+.include <bsd.port.post.mk>