aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2013-06-05 05:25:59 +0800
committermm <mm@FreeBSD.org>2013-06-05 05:25:59 +0800
commitaaf3a56107fbfec43a97bf06e8c2dc4d10c5a9a5 (patch)
treeb201b5fdfba492e77842a97bb562b4d73d4508fb
parenta84f1d0e6269977bea569cca8c0c027778492120 (diff)
downloadfreebsd-ports-gnome-aaf3a56107fbfec43a97bf06e8c2dc4d10c5a9a5.tar.gz
freebsd-ports-gnome-aaf3a56107fbfec43a97bf06e8c2dc4d10c5a9a5.tar.zst
freebsd-ports-gnome-aaf3a56107fbfec43a97bf06e8c2dc4d10c5a9a5.zip
Add optional dependency on Horde_Memcache to Horde_HashTable
-rw-r--r--databases/pear-Horde_HashTable/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/databases/pear-Horde_HashTable/Makefile b/databases/pear-Horde_HashTable/Makefile
index bc994eeb3d92..0a6476127aa5 100644
--- a/databases/pear-Horde_HashTable/Makefile
+++ b/databases/pear-Horde_HashTable/Makefile
@@ -8,8 +8,14 @@ PKGNAMEPREFIX= pear-
MAINTAINER= horde@FreeBSD.org
COMMENT= Horde Hash Table Interface
+OPTIONS_DEFINE= MEMCACHE
USE_HORDE_RUN= Horde_Exception
.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MMEMCACHE}
+USE_HORDE_RUN+= Horde_Memcache
+.endif
+
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>