[90349] trunk/dports/math/wxMaxima/Portfile

usami-k at macports.org usami-k at macports.org
Sat Mar 3 00:52:35 PST 2012


Revision: 90349
          http://trac.macports.org/changeset/90349
Author:   usami-k at macports.org
Date:     2012-03-03 00:52:32 -0800 (Sat, 03 Mar 2012)
Log Message:
-----------
wxMaxima : check Xcode version

Modified Paths:
--------------
    trunk/dports/math/wxMaxima/Portfile

Modified: trunk/dports/math/wxMaxima/Portfile
===================================================================
--- trunk/dports/math/wxMaxima/Portfile	2012-03-03 08:42:09 UTC (rev 90348)
+++ trunk/dports/math/wxMaxima/Portfile	2012-03-03 08:52:32 UTC (rev 90349)
@@ -28,7 +28,11 @@
 depends_run     port:maxima
 
 platform darwin 11 {
-    configure.cxxflags-append -isysroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
+    if {[vercmp $xcodeversion 4.3] >= 0} {
+        configure.cxxflags-append -isysroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
+    } else {
+        configure.cxxflags-append -isysroot ${developer_dir}/SDKs/MacOSX10.6.sdk
+    }
 }
 
 post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120303/14a5cb49/attachment-0001.html>


More information about the macports-changes mailing list