Modified: trunk/dports/graphics/wxWidgets/Portfile (90279 => 90280)
--- 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 {