diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-02-20 16:33:26 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-02-20 16:33:26 +0000 |
commit | 1e607f868b5505e10fabe70f19c1c6e491e4d1a0 (patch) | |
tree | 5a6539846b1be0d7960d421883f382b1984b610b /devel/p5-Cache-Cache | |
parent | 548c9ae86f72ebe1570fffefb0f5b4dd3f3c0ab1 (diff) | |
download | FreeBSD-ports-1e607f868b5505e10fabe70f19c1c6e491e4d1a0.zip FreeBSD-ports-1e607f868b5505e10fabe70f19c1c6e491e4d1a0.tar.gz |
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
Diffstat (limited to 'devel/p5-Cache-Cache')
-rw-r--r-- | devel/p5-Cache-Cache/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-Cache-Cache/Makefile b/devel/p5-Cache-Cache/Makefile index ae7b2b3..731dd67 100644 --- a/devel/p5-Cache-Cache/Makefile +++ b/devel/p5-Cache-Cache/Makefile @@ -14,9 +14,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Error.pm:${PORTSDIR}/lang/p5-Error RUN_DEPENDS= ${BUILD_DEPENDS} @@ -44,4 +42,11 @@ MAN3= Cache::BaseCache.3 \ Cache::SizeAwareSharedMemoryCache.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 \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +.endif + +.include <bsd.port.post.mk> |