[91770] trunk/dports/python/py-wxpython/files/patch-config.py.diff
jwa at macports.org
jwa at macports.org
Tue Apr 10 05:01:13 PDT 2012
Revision: 91770
https://trac.macports.org/changeset/91770
Author: jwa at macports.org
Date: 2012-04-10 05:01:10 -0700 (Tue, 10 Apr 2012)
Log Message:
-----------
add an empty patch file to avoid fail in fetch phase
Added Paths:
-----------
trunk/dports/python/py-wxpython/files/patch-config.py.diff
Added: trunk/dports/python/py-wxpython/files/patch-config.py.diff
===================================================================
--- trunk/dports/python/py-wxpython/files/patch-config.py.diff (rev 0)
+++ trunk/dports/python/py-wxpython/files/patch-config.py.diff 2012-04-10 12:01:10 UTC (rev 91770)
@@ -0,0 +1,24 @@
+--- config.py~ 2012-04-08 18:41:21.000000000 +0300
++++ config.py 2012-04-08 18:44:32.000000000 +0300
+@@ -1031,19 +1031,8 @@
+ GENDIR = 'mac'
+ libs = ['stdc++']
+ NO_SCRIPTS = 1
+- if not ARCH == "":
+- cflags.append("-arch")
+- cflags.append(ARCH)
+- lflags.append("-arch")
+- lflags.append(ARCH)
+- #if ARCH == "ppc":
+- # cflags.append("-isysroot")
+- # cflags.append("/Developer/SDKs/MacOSX10.3.9.sdk")
+-
+- if not os.environ.get('CC') or not os.environ.get('CXX'):
+- os.environ["CXX"] = "g++-4.0"
+- os.environ["CC"] = "gcc-4.0"
+- os.environ["CPP"] = "cpp-4.0"
++ cflags.append("-isysroot")
++ cflags.append("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk")
+
+ else:
+ # Set flags for other Unix type platforms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120410/b7ff3953/attachment.html>
More information about the macports-changes
mailing list