pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/php-memcached Add igbinary option, disabled by d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb1ab6836c80
branches:  trunk
changeset: 649687:eb1ab6836c80
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Tue Apr 07 23:09:39 2015 +0000

description:
Add igbinary option, disabled by default. This option enables binary
protocol communication with memcached. Bump PKGREVISION.

diffstat:

 devel/php-memcached/Makefile   |   3 ++-
 devel/php-memcached/options.mk |  12 ++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 11b710955958 -r eb1ab6836c80 devel/php-memcached/Makefile
--- a/devel/php-memcached/Makefile      Tue Apr 07 22:14:27 2015 +0000
+++ b/devel/php-memcached/Makefile      Tue Apr 07 23:09:39 2015 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2015/03/26 03:32:33 rodent Exp $
+# $NetBSD: Makefile,v 1.6 2015/04/07 23:09:39 rodent Exp $
 #
 
 MODNAME=               memcached
 PECL_VERSION=          2.2.0
+PKGREVISION=           1
 CATEGORIES+=           devel
 
 MAINTAINER=            filip%joyent.com@localhost
diff -r 11b710955958 -r eb1ab6836c80 devel/php-memcached/options.mk
--- a/devel/php-memcached/options.mk    Tue Apr 07 22:14:27 2015 +0000
+++ b/devel/php-memcached/options.mk    Tue Apr 07 23:09:39 2015 +0000
@@ -1,11 +1,19 @@
-# $NetBSD: options.mk,v 1.1 2015/03/26 03:32:33 rodent Exp $
+# $NetBSD: options.mk,v 1.2 2015/04/07 23:09:39 rodent Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.php-memcached
-PKG_SUPPORTED_OPTIONS= sasl
+PKG_SUPPORTED_OPTIONS= igbinary sasl
 PKG_SUGGESTED_OPTIONS= sasl
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Migbinary)
+.include "../../lang/php/phpversion.mk" 
+DEPENDS+=              ${PHP_PKG_PREFIX}-igbinary-[0-9]*:../../devel/php-igbinary
+CONFIGURE_ARGS+=       --enable-memcached-igbinary
+.else
+CONFIGURE_ARGS+=       --disable-memcached-igbinary
+.endif
+
 .if !empty(PKG_OPTIONS:Msasl)
 .include "../../security/cyrus-sasl/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-memcached-sasl



Home | Main Index | Thread Index | Old Index