diff options
Diffstat (limited to 'databases/p5-Cache-Memcached/Makefile')
-rw-r--r-- | databases/p5-Cache-Memcached/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/databases/p5-Cache-Memcached/Makefile b/databases/p5-Cache-Memcached/Makefile index 9e461615c8c3..3961837d91d2 100644 --- a/databases/p5-Cache-Memcached/Makefile +++ b/databases/p5-Cache-Memcached/Makefile @@ -16,7 +16,9 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl API for memcached, a distributed memory cache daemon -RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32 +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32 \ + memcached:${PORTSDIR}/databases/memcached PERL_CONFIGURE= yes @@ -25,10 +27,13 @@ MAN3= Cache::Memcached.3 .include <bsd.port.pre.mk> .if ${PERL_LEVEL} <= 500600 -BUILD_DEPENDS+= \ - ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable -RUN_DEPENDS+= \ - ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +.endif + +.if ${PERL_LEVEL} <= 500800 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes .endif .include <bsd.port.post.mk> |