aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pecl-memcached
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-03-22 04:50:59 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-03-22 04:50:59 +0800
commitbebd36847cfbd6fbd3f5a2974c21e35d9366582b (patch)
treef1f3d68dae75e038eee79e7ab31c7e691d56f6d0 /databases/pecl-memcached
parent366845505933e7ce16a505e1c1198f3d7296a4a9 (diff)
downloadfreebsd-ports-gnome-bebd36847cfbd6fbd3f5a2974c21e35d9366582b.tar.gz
freebsd-ports-gnome-bebd36847cfbd6fbd3f5a2974c21e35d9366582b.tar.zst
freebsd-ports-gnome-bebd36847cfbd6fbd3f5a2974c21e35d9366582b.zip
- Add SASL option
PR: 182449 Submitted by: <dereckson@gmail.com>, <niels.poppe@gmail.com>
Diffstat (limited to 'databases/pecl-memcached')
-rw-r--r--databases/pecl-memcached/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/databases/pecl-memcached/Makefile b/databases/pecl-memcached/Makefile
index 7f8489798cdb..c85ee5944fc5 100644
--- a/databases/pecl-memcached/Makefile
+++ b/databases/pecl-memcached/Makefile
@@ -17,18 +17,19 @@ LICENSE= PHP30
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf
LIB_DEPENDS= libmemcached.so:${PORTSDIR}/databases/libmemcached
+OPTIONS_DEFINE= IGBINARY SASL
+IGBINARY_DESC= Binary serializer support
+
+CONFIGURE_ARGS= --disable-memcached-sasl --with-libmemcached-dir=${LOCALBASE}
USE_PHP= json session
USE_PHPEXT= yes
USE_PHPIZE= yes
USE_PHP_BUILD= yes
USES= tar:tgz
-CONFIGURE_ARGS= --with-libmemcached-dir=${LOCALBASE} \
- --disable-memcached-sasl
-
-OPTIONS_DEFINE= IGBINARY
-IGBINARY_DESC= Binary serializer support
-IGBINARY_CONFIGURE_ON= --enable-memcached-igbinary
+IGBINARY_CONFIGURE_ENABLE= memcached-igbinary
IGBINARY_USE= PHP=igbinary
+SASL_CONFIGURE_ENABLE= memcached-sasl
+SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
.include <bsd.port.mk>