[102258] trunk/base/src/port1.0/portconfigure.tcl
jeremyhu at macports.org
jeremyhu at macports.org
Tue Jan 29 09:05:15 PST 2013
Revision: 102258
https://trac.macports.org/changeset/102258
Author: jeremyhu at macports.org
Date: 2013-01-29 09:05:15 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
Use macports-llvm-gcc-4.2 as a backup instead of llvm-gcc-4.2 with XCode 4.6
It was announced that llvm-gcc is deprecated in XCode 4.6 and will be removed
in the next major release. This updates base to fallback on the llvm-gcc42
port rather than the Apple-provided llvm-gcc when using this version of XCode
to allow developers using base trunk to find issues with ports that may exist
with the removal of llvm-gcc from XCode.
I do not reccomend shipping this change in the 2.1.x release series.
Modified Paths:
--------------
trunk/base/src/port1.0/portconfigure.tcl
Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl 2013-01-29 17:04:55 UTC (rev 102257)
+++ trunk/base/src/port1.0/portconfigure.tcl 2013-01-29 17:05:15 UTC (rev 102258)
@@ -448,6 +448,8 @@
return $default_compiler
} elseif {$xcodeversion == "none" || $xcodeversion == ""} {
return {cc}
+ } elseif {[vercmp $xcodeversion 4.6] >= 0} {
+ return {clang macports-llvm-gcc-4.2 apple-gcc-4.2}
} elseif {[vercmp $xcodeversion 4.2] >= 0} {
return {clang llvm-gcc-4.2 apple-gcc-4.2}
} elseif {[vercmp $xcodeversion 4.0] >= 0} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/c1090d00/attachment.html>
More information about the macports-changes
mailing list