[92919] trunk/dports/devel/nu2/Portfile
and.damore at macports.org
and.damore at macports.org
Thu May 10 13:21:01 PDT 2012
Revision: 92919
https://trac.macports.org/changeset/92919
Author: and.damore at macports.org
Date: 2012-05-10 13:21:01 -0700 (Thu, 10 May 2012)
Log Message:
-----------
port nu2: fixing building with new Xcode 4.3, setting SDK path into build script (no configure phase)
Modified Paths:
--------------
trunk/dports/devel/nu2/Portfile
Modified: trunk/dports/devel/nu2/Portfile
===================================================================
--- trunk/dports/devel/nu2/Portfile 2012-05-10 20:16:00 UTC (rev 92918)
+++ trunk/dports/devel/nu2/Portfile 2012-05-10 20:21:01 UTC (rev 92919)
@@ -54,8 +54,14 @@
reinplace "s|@ARCHS@|[join ${configure.build_arch} {" "}]|g" ${worksrcpath}/Nukefile
reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/Nukefile
reinplace "s|@SDKROOT@|${configure.sdkroot}|g" ${worksrcpath}/Nukefile
- reinplace "s|@SDKFLAGS@|-isysroot ${developer_dir}/SDKs/MacOSX${macosx_deployment_target}.sdk|g" ${worksrcpath}/Nukefile
+ if {[vercmp $xcodeversion 4.3] < 0} {
+ set SDK ${developer_dir}/SDKs/MacOSX${macosx_deployment_target}.sdk
+ } else {
+ set SDK ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${macosx_deployment_target}.sdk
+ }
+ reinplace "s|@SDKFLAGS@|-isysroot ${SDK}|g" ${worksrcpath}/Nukefile
+
reinplace "s|/Library/Frameworks|${frameworks_dir}|" ${worksrcpath}/tools/nuke
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120510/2db89b0c/attachment.html>
More information about the macports-changes
mailing list