aboutsummaryrefslogtreecommitdiff
path: root/databases/pear-Horde_HashTable
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2013-06-04 21:25:59 +0000
committerMartin Matuska <mm@FreeBSD.org>2013-06-04 21:25:59 +0000
commit9d00f73a1d811ce6e3b0421ab8e12f86078decd3 (patch)
treeb201b5fdfba492e77842a97bb562b4d73d4508fb /databases/pear-Horde_HashTable
parentd206480695dfe52db583494b1cbf203eca621890 (diff)
downloadports-9d00f73a1d811ce6e3b0421ab8e12f86078decd3.tar.gz
ports-9d00f73a1d811ce6e3b0421ab8e12f86078decd3.zip
Add optional dependency on Horde_Memcache to Horde_HashTable
Notes
Notes: svn path=/head/; revision=319911
Diffstat (limited to 'databases/pear-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>