diff options
author | clsung <clsung@FreeBSD.org> | 2006-12-20 11:01:10 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-12-20 11:01:10 +0800 |
commit | 69cf496955a1cc2f121827854db9134bc2f0cebd (patch) | |
tree | 4951a470688c65ea00b20cf12d7910b222b9fbd4 /databases/p5-Cache-Memcached | |
parent | 6c4bb7e6de98d95ff7385259e16ba7e29da11b3b (diff) | |
download | freebsd-ports-graphics-69cf496955a1cc2f121827854db9134bc2f0cebd.tar.gz freebsd-ports-graphics-69cf496955a1cc2f121827854db9134bc2f0cebd.tar.zst freebsd-ports-graphics-69cf496955a1cc2f121827854db9134bc2f0cebd.zip |
- p5-Cache-Memcached depends on p5-Storable and p5-Time-HiRes,
but with perl5.8 this modules already installed
PR: ports/106780
Submitted by: Anton Yuzhaniov<citrin_AT_rambler-co dot ru>
Diffstat (limited to 'databases/p5-Cache-Memcached')
-rw-r--r-- | databases/p5-Cache-Memcached/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/databases/p5-Cache-Memcached/Makefile b/databases/p5-Cache-Memcached/Makefile index b5096930a3e..1b9f3279acc 100644 --- a/databases/p5-Cache-Memcached/Makefile +++ b/databases/p5-Cache-Memcached/Makefile @@ -16,10 +16,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl API for memcached, a distributed memory cache daemon -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32 \ - ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ - ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32 PERL_CONFIGURE= yes @@ -27,6 +24,11 @@ MAN3= Cache::Memcached.3 .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ + ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +.endif + .if ${PERL_LEVEL} < 500600 IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again .endif |