diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-20 16:33:26 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-20 16:33:26 +0000 |
commit | 628b215647a7f7c1e3232ad55bb67fd7cbdb9f14 (patch) | |
tree | 9dee99152b7b92fefea393e2a79a64b07ab74dff /security/p5-MD5/Makefile | |
parent | 029b209d330e5082cbae2c7100c55eed692fafd2 (diff) | |
download | ports-628b215647a7f7c1e3232ad55bb67fd7cbdb9f14.tar.gz ports-628b215647a7f7c1e3232ad55bb67fd7cbdb9f14.zip |
Conditionalise several dependencies on PERL_LEVEL to make those ports more
friendly for perl-5.8.0, which has those dependencies included into the
base distribution.
Sponsired by: Porta Software Ltd
Notes
Notes:
svn path=/head/; revision=75949
Diffstat (limited to 'security/p5-MD5/Makefile')
-rw-r--r-- | security/p5-MD5/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/security/p5-MD5/Makefile b/security/p5-MD5/Makefile index 568c6f434d27..02aadbcf80b1 100644 --- a/security/p5-MD5/Makefile +++ b/security/p5-MD5/Makefile @@ -14,12 +14,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org -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 - PERL_CONFIGURE= yes MAN3= MD5.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= ${BUILD_DEPENDS} +.endif + +.include <bsd.port.post.mk> |