aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-14 17:43:22 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-14 17:43:22 +0000
commit4638c2ff94e9d5fab04df718f6245dabd90c542e (patch)
treeb2e8f7306e69e7af344b48a176be1d4944c6e25f
parent7ad0019ed7d409bfdd75313b4d9a8e3994bd5ebd (diff)
downloadports-4638c2ff94e9d5fab04df718f6245dabd90c542e.tar.gz
ports-4638c2ff94e9d5fab04df718f6245dabd90c542e.zip
databases/pecl-memcached: Add MSGPACK option
PR: 256332 Reported by: Unrealist <fbsd_bugs@int.pl>
-rw-r--r--databases/pecl-memcached/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/pecl-memcached/Makefile b/databases/pecl-memcached/Makefile
index d4bc4920a9bd..2aea179e13a9 100644
--- a/databases/pecl-memcached/Makefile
+++ b/databases/pecl-memcached/Makefile
@@ -18,12 +18,16 @@ USE_PHP= json:build session:build
CONFIGURE_ARGS= --with-libmemcached-dir=${LOCALBASE}
-OPTIONS_DEFINE= IGBINARY SASL
+OPTIONS_DEFINE= IGBINARY MSGPACK SASL
OPTIONS_DEFAULT=SASL
IGBINARY_DESC= Binary serializer support
+MSGPACK_DESC= MessagePack serializer support
IGBINARY_CONFIGURE_ENABLE= memcached-igbinary
IGBINARY_USE= PHP=igbinary:build
+MSGPACK_BUILD_DEPENDS= ${PECL_PKGNAMEPREFIX}msgpack>=0:devel/pecl-msgpack@${PHP_FLAVOR}
+MSGPACK_CONFIGURE_ENABLE= memcached-msgpack
+MSGPACK_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}msgpack>=0:devel/pecl-msgpack@${PHP_FLAVOR}
SASL_CONFIGURE_ENABLE= memcached-sasl
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2