Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 18:11:00 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375256 - head/databases/pecl-memcached
Message-ID:  <201412221811.sBMIB0c4073367@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Dec 22 18:11:00 2014
New Revision: 375256
URL: https://svnweb.freebsd.org/changeset/ports/375256
QAT: https://qat.redports.org/buildarchive/r375256/

Log:
   - Convert to new options helper
   - Remove unnecessary PHP_MODNAME
   - Use =
  
  Submitted by:	sunpoet

Modified:
  head/databases/pecl-memcached/Makefile

Modified: head/databases/pecl-memcached/Makefile
==============================================================================
--- head/databases/pecl-memcached/Makefile	Mon Dec 22 17:57:37 2014	(r375255)
+++ head/databases/pecl-memcached/Makefile	Mon Dec 22 18:11:00 2014	(r375256)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412221811.sBMIB0c4073367>