From 89fd94df674f7260b713333be5273b7d6133574c Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Tue, 29 Apr 2003 03:20:02 +0000 Subject: [PATCH] add missing dependency to p5-MLDBM-Sync Add missing dependency on Digest::MD5 Noticed by: Juha Erkkila PR: ports/51339 Submitted by: Erwin Lansing --- databases/p5-MLDBM-Sync/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 +.include + +.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