[129642] trunk/dports/php/php-memcached/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Dec 17 10:57:57 PST 2014


Revision: 129642
          https://trac.macports.org/changeset/129642
Author:   ryandesign at macports.org
Date:     2014-12-17 10:57:56 -0800 (Wed, 17 Dec 2014)
Log Message:
-----------
php-memcached: enable JSON support (#46262); remove igbinary variant in favor of always enabling igbinary support

Modified Paths:
--------------
    trunk/dports/php/php-memcached/Portfile

Modified: trunk/dports/php/php-memcached/Portfile
===================================================================
--- trunk/dports/php/php-memcached/Portfile	2014-12-17 15:57:20 UTC (rev 129641)
+++ trunk/dports/php/php-memcached/Portfile	2014-12-17 18:57:56 UTC (rev 129642)
@@ -6,6 +6,7 @@
 
 name                    php-memcached
 version                 2.1.0
+revision                1
 categories-append       net devel
 platforms               darwin freebsd openbsd
 maintainers             ryandesign openmaintainer
@@ -17,7 +18,8 @@
 description             PHP bindings for memcache
 
 long_description        Memcached is a caching daemon designed especially for \
-                        dynamic web applications to decrease database load by storing objects in memory. This extension allows you \
+                        dynamic web applications to decrease database load by \
+                        storing objects in memory. This extension allows you \
                         to work with memcached through handy OO and \
                         procedural interfaces.
 
@@ -25,13 +27,12 @@
                         sha256  bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af
 
 if {${name} ne ${subport}} {
-    depends_lib-append      port:libmemcached port:zlib
+    depends_lib-append      port:libmemcached \
+                            port:${php}-igbinary \
+                            port:zlib
     
-    configure.args-append   --with-libmemcached-dir=${prefix} \
+    configure.args-append   --enable-memcached-igbinary \
+                            --enable-memcached-json \
+                            --with-libmemcached-dir=${prefix} \
                             --with-zlib-dir=${prefix}
-    
-    variant igbinary description {enable igbinary serialization extension} {
-        depends_lib-append      port:${php}-igbinary
-        configure.args-append   --enable-memcached-igbinary
-    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141217/2a987837/attachment.html>


More information about the macports-changes mailing list