[60907] trunk/dports/sysutils/memcached/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Nov 27 14:48:02 PST 2009


Revision: 60907
          http://trac.macports.org/changeset/60907
Author:   ryandesign at macports.org
Date:     2009-11-27 14:47:59 -0800 (Fri, 27 Nov 2009)
Log Message:
-----------
memcached: fix universal build using muniversal variant; see #21942 (maintainer timeout)

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

Modified: trunk/dports/sysutils/memcached/Portfile
===================================================================
--- trunk/dports/sysutils/memcached/Portfile	2009-11-27 19:54:38 UTC (rev 60906)
+++ trunk/dports/sysutils/memcached/Portfile	2009-11-27 22:47:59 UTC (rev 60907)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup               muniversal 1.0
 
 name                    memcached
 revision                0
@@ -26,7 +27,10 @@
 startupitem.start       "${prefix}/bin/memcached -u nobody -m 64 -c 10240 -p 11211 -d"
 startupitem.stop        "/usr/bin/killall memcached"
 
-pre-configure {
+if {[variant_isset universal]} {
+    set merger_configure_args(x86_64) --enable-64bit
+    set merger_configure_args(ppc64)  --enable-64bit
+} else {
     if {[info exists build_arch] && (${build_arch} == "x86_64" || $build_arch == "ppc64")} {
                 configure.args-append --enable-64bit
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091127/8f9c235b/attachment.html>


More information about the macports-changes mailing list