Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/p5-MLDBM-Sync/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 21 Feb 2003 11:15:02 -0000 1.4 +++ Makefile 24 Apr 2003 08:13:46 -0000 @@ -2,7 +2,7 @@ # Date created: May 29th, 2002 # Whom: erwin@lansing.dk # -# $FreeBSD$ +# $FreeBSD: ports/databases/p5-MLDBM-Sync/Makefile,v 1.4 2003/02/21 11:15:02 knu Exp $ # PORTNAME= MLDBM-Sync @@ -23,4 +23,11 @@ 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