[67857] trunk/dports/devel/mcpp/Portfile
blair at macports.org
blair at macports.org
Wed May 19 22:04:41 PDT 2010
Revision: 67857
http://trac.macports.org/changeset/67857
Author: blair at macports.org
Date: 2010-05-19 22:04:39 -0700 (Wed, 19 May 2010)
Log Message:
-----------
Fix the universal variant on Snow Leopard. Fixes #24899. Patch by
jmr.
Modified Paths:
--------------
trunk/dports/devel/mcpp/Portfile
Modified: trunk/dports/devel/mcpp/Portfile
===================================================================
--- trunk/dports/devel/mcpp/Portfile 2010-05-20 04:47:51 UTC (rev 67856)
+++ trunk/dports/devel/mcpp/Portfile 2010-05-20 05:04:39 UTC (rev 67857)
@@ -4,7 +4,7 @@
name mcpp
version 2.7.2
-revision 3
+revision 4
categories devel
platforms darwin
maintainers blair openmaintainer
@@ -28,6 +28,9 @@
patch-src__system.H \
fix-core-dumps.patch
configure.args-append --enable-mcpplib --mandir=${prefix}/share/man
-# +universal: Install universal binary of mcpp for i386 and ppc.
+# +universal: Install universal binary of mcpp.
# Do not append these options to configure, but append to make.
-variant universal { build.args-append CFLAGS+='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch ppc' }
+variant universal { build.args-append CFLAGS+='${configure.universal_cflags}' }
+if {![variant_isset universal]} {
+ build.args-append CFLAGS+='${configure.cc_archflags}'
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100519/0b51e50d/attachment.html>
More information about the macports-changes
mailing list