Revision: 90280 http://trac.macports.org/changeset/90280 Author: jwa@macports.org Date: 2012-02-29 05:11:18 -0800 (Wed, 29 Feb 2012) Log Message: ----------- change hardcoded /Developer to configurable developer_dir, add 4.3 check to locate the 10.6 SDK correctly, hopefully fixing #33312, add modeline Modified Paths: -------------- trunk/dports/graphics/wxWidgets/Portfile Modified: trunk/dports/graphics/wxWidgets/Portfile =================================================================== --- trunk/dports/graphics/wxWidgets/Portfile 2012-02-29 12:49:38 UTC (rev 90279) +++ trunk/dports/graphics/wxWidgets/Portfile 2012-02-29 13:11:18 UTC (rev 90280) @@ -1,3 +1,4 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 @@ -93,8 +94,14 @@ platform darwin 11 { configure.args-append \ - --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk \ + --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk \ --with-macosx-version-min=10.6 + if {$xcodeversion == "4.3"} { + configure.args-delete \ + --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk + configure.args-append \ + --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk + } } post-build {