[61431] trunk/dports/php/php5-mongo
ryandesign at macports.org
ryandesign at macports.org
Thu Dec 10 23:50:33 PST 2009
Revision: 61431
http://trac.macports.org/changeset/61431
Author: ryandesign at macports.org
Date: 2009-12-10 23:50:29 -0800 (Thu, 10 Dec 2009)
Log Message:
-----------
php5-mongo: do not build universal; mongodb is not universal
Modified Paths:
--------------
trunk/dports/php/php5-mongo/Portfile
Added Paths:
-----------
trunk/dports/php/php5-mongo/files/
trunk/dports/php/php5-mongo/files/patch-config.m4.diff
Modified: trunk/dports/php/php5-mongo/Portfile
===================================================================
--- trunk/dports/php/php5-mongo/Portfile 2009-12-11 07:32:12 UTC (rev 61430)
+++ trunk/dports/php/php5-mongo/Portfile 2009-12-11 07:50:29 UTC (rev 61431)
@@ -4,6 +4,7 @@
PortGroup php5extension 1.0
php5extension.setup mongo 1.0.1 pecl
+revision 1
categories php devel
platforms darwin
@@ -20,4 +21,9 @@
depends_lib-append port:mongodb
+patchfiles-append patch-config.m4.diff
+
+# mongodb is not universal
+universal_variant no
+
use_parallel_build yes
Added: trunk/dports/php/php5-mongo/files/patch-config.m4.diff
===================================================================
--- trunk/dports/php/php5-mongo/files/patch-config.m4.diff (rev 0)
+++ trunk/dports/php/php5-mongo/files/patch-config.m4.diff 2009-12-11 07:50:29 UTC (rev 61431)
@@ -0,0 +1,21 @@
+--- config.m4.orig 1970-01-01 03:13:08.000000000 -0600
++++ config.m4 2009-12-11 01:47:21.000000000 -0600
+@@ -15,18 +15,5 @@
+ dnl extensions prerequisites
+ PHP_ADD_EXTENSION_DEP(mongo, date, false)
+ PHP_ADD_EXTENSION_DEP(mongo, spl, false)
+-
+- case $build_os in
+- darwin10.*.*)
+- AC_MSG_CHECKING([whether to compile for recent osx architectures])
+- CFLAGS="$CFLAGS -arch i386 -arch x86_64"
+- AC_MSG_RESULT([yes])
+- ;;
+- darwin*)
+- AC_MSG_CHECKING([whether to compile for every osx architecture ever])
+- CFLAGS="$CFLAGS -arch i386 -arch x86_64 -arch ppc -arch ppc64"
+- AC_MSG_RESULT([yes])
+- ;;
+- esac
+ fi
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091210/55aa62ec/attachment.html>
More information about the macports-changes
mailing list