[102106] trunk/dports/lang
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 27 22:17:58 PST 2013
Revision: 102106
https://trac.macports.org/changeset/102106
Author: jeremyhu at macports.org
Date: 2013-01-27 22:17:58 -0800 (Sun, 27 Jan 2013)
Log Message:
-----------
gcc*: Use compiler.blacklist
Modified Paths:
--------------
trunk/dports/lang/gcc43/Portfile
trunk/dports/lang/gcc44/Portfile
trunk/dports/lang/gcc45/Portfile
trunk/dports/lang/gcc46/Portfile
trunk/dports/lang/gcc47/Portfile
trunk/dports/lang/gcc48/Portfile
Modified: trunk/dports/lang/gcc43/Portfile
===================================================================
--- trunk/dports/lang/gcc43/Portfile 2013-01-28 06:12:33 UTC (rev 102105)
+++ trunk/dports/lang/gcc43/Portfile 2013-01-28 06:17:58 UTC (rev 102106)
@@ -112,8 +112,8 @@
}
# http://trac.macports.org/ticket/29104
-if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
+if {[vercmp $xcodeversion 4.2] < 0} {
+ compiler.blacklist llvm-gcc-4.2
}
# STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
Modified: trunk/dports/lang/gcc44/Portfile
===================================================================
--- trunk/dports/lang/gcc44/Portfile 2013-01-28 06:12:33 UTC (rev 102105)
+++ trunk/dports/lang/gcc44/Portfile 2013-01-28 06:17:58 UTC (rev 102106)
@@ -113,8 +113,8 @@
}
# http://trac.macports.org/ticket/29104
-if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
+if {[vercmp $xcodeversion 4.2] < 0} {
+ compiler.blacklist llvm-gcc-4.2
}
# STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
Modified: trunk/dports/lang/gcc45/Portfile
===================================================================
--- trunk/dports/lang/gcc45/Portfile 2013-01-28 06:12:33 UTC (rev 102105)
+++ trunk/dports/lang/gcc45/Portfile 2013-01-28 06:17:58 UTC (rev 102106)
@@ -121,8 +121,8 @@
}
# http://trac.macports.org/ticket/29104
-if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
+if {[vercmp $xcodeversion 4.2] < 0} {
+ compiler.blacklist llvm-gcc-4.2
}
# LTO doesn't work for other targets, see ticket #32863
Modified: trunk/dports/lang/gcc46/Portfile
===================================================================
--- trunk/dports/lang/gcc46/Portfile 2013-01-28 06:12:33 UTC (rev 102105)
+++ trunk/dports/lang/gcc46/Portfile 2013-01-28 06:17:58 UTC (rev 102106)
@@ -116,8 +116,8 @@
}
# http://trac.macports.org/ticket/29104
-if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
+if {[vercmp $xcodeversion 4.2] < 0} {
+ compiler.blacklist llvm-gcc-4.2
}
build.target bootstrap
Modified: trunk/dports/lang/gcc47/Portfile
===================================================================
--- trunk/dports/lang/gcc47/Portfile 2013-01-28 06:12:33 UTC (rev 102105)
+++ trunk/dports/lang/gcc47/Portfile 2013-01-28 06:17:58 UTC (rev 102106)
@@ -114,8 +114,8 @@
}
# http://trac.macports.org/ticket/29104
-if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
+if {[vercmp $xcodeversion 4.2] < 0} {
+ compiler.blacklist llvm-gcc-4.2
}
build.target bootstrap
Modified: trunk/dports/lang/gcc48/Portfile
===================================================================
--- trunk/dports/lang/gcc48/Portfile 2013-01-28 06:12:33 UTC (rev 102105)
+++ trunk/dports/lang/gcc48/Portfile 2013-01-28 06:17:58 UTC (rev 102106)
@@ -98,8 +98,8 @@
}
# http://trac.macports.org/ticket/29104
-if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
+if {[vercmp $xcodeversion 4.2] < 0} {
+ compiler.blacklist llvm-gcc-4.2
}
build.target bootstrap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130127/d68274b5/attachment-0001.html>
More information about the macports-changes
mailing list