diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-12-20 03:01:10 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-12-20 03:01:10 +0000 |
commit | afbfed66ca18a3dcf3c9361af7f8a3ac5e87943c (patch) | |
tree | 801deb0735604ca21aa968df49fcc04e92278b87 /databases | |
parent | - Update to 1.6.5 (diff) |
- 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>
Notes
Notes:
svn path=/head/; revision=180230
Diffstat (limited to 'databases')
-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 b5096930a3ee..1b9f3279accc 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 |