summaryrefslogtreecommitdiff
path: root/databases/p5-Cache-Memcached
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-04-09 19:14:18 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-04-09 19:14:18 +0000
commitee170e677b51ca14b24e77dcc3bf5703e69cca2f (patch)
tree1ba5cea657442e642f22a207688c9dc22ec22707 /databases/p5-Cache-Memcached
parent- utilize OPTIONS, DOCSDIR, DATADIR ... (diff)
- add missing dependency
PR: based on 79719 Submitted by: Stephen Gunn <csg@waterspout.com>
Notes
Notes: svn path=/head/; revision=132823
Diffstat (limited to 'databases/p5-Cache-Memcached')
-rw-r--r--databases/p5-Cache-Memcached/Makefile15
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>