mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Convert to new options helper
- Remove unnecessary PHP_MODNAME - Use = Submitted by: sunpoet
This commit is contained in:
parent
e31adb328d
commit
d6a7e1fc3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375256
1 changed files with 3 additions and 9 deletions
|
@ -17,24 +17,18 @@ LICENSE= PHP30
|
|||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf
|
||||
LIB_DEPENDS= libmemcached.so:${PORTSDIR}/databases/libmemcached
|
||||
|
||||
PHP_MODNAME= memcached
|
||||
USE_PHP= json session
|
||||
USE_PHPEXT= yes
|
||||
USE_PHPIZE= yes
|
||||
USE_PHP_BUILD= yes
|
||||
USES= tar:tgz
|
||||
CONFIGURE_ARGS+=--with-libmemcached-dir=${LOCALBASE} \
|
||||
CONFIGURE_ARGS= --with-libmemcached-dir=${LOCALBASE} \
|
||||
--disable-memcached-sasl
|
||||
|
||||
OPTIONS_DEFINE= IGBINARY
|
||||
IGBINARY_DESC= Binary serializer support
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MIGBINARY}
|
||||
CONFIGURE_ARGS+=--enable-memcached-igbinary
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/pecl-igbinary
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/pecl-igbinary
|
||||
.endif
|
||||
IGBINARY_CONFIGURE_ON= --enable-memcached-igbinary
|
||||
IGBINARY_USE= PHP=igbinary
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue