[80371] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sun Jul 10 12:57:48 PDT 2011


Revision: 80371
          http://trac.macports.org/changeset/80371
Author:   jeremyhu at macports.org
Date:     2011-07-10 12:57:48 -0700 (Sun, 10 Jul 2011)
Log Message:
-----------
gcc4[3456]: Use clang instead of llvm-gcc-4.2, #29104

Modified Paths:
--------------
    trunk/dports/lang/gcc43/Portfile
    trunk/dports/lang/gcc44/Portfile
    trunk/dports/lang/gcc45/Portfile
    trunk/dports/lang/gcc46/Portfile

Modified: trunk/dports/lang/gcc43/Portfile
===================================================================
--- trunk/dports/lang/gcc43/Portfile	2011-07-10 18:28:46 UTC (rev 80370)
+++ trunk/dports/lang/gcc43/Portfile	2011-07-10 19:57:48 UTC (rev 80371)
@@ -98,6 +98,11 @@
             RANLIB_FOR_TARGET=/usr/bin/ranlib \
             STRIP_FOR_TARGET=/usr/bin/strip
 
+# http://trac.macports.org/ticket/29104
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler clang
+}
+
 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl
 # -std=gnu89 : for building with compilers that default to c99

Modified: trunk/dports/lang/gcc44/Portfile
===================================================================
--- trunk/dports/lang/gcc44/Portfile	2011-07-10 18:28:46 UTC (rev 80370)
+++ trunk/dports/lang/gcc44/Portfile	2011-07-10 19:57:48 UTC (rev 80371)
@@ -100,6 +100,11 @@
 build.target	bootstrap
 use_parallel_build	yes
 
+# http://trac.macports.org/ticket/29104
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler clang
+}
+
 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl
 # -std=gnu89 : for building with clang

Modified: trunk/dports/lang/gcc45/Portfile
===================================================================
--- trunk/dports/lang/gcc45/Portfile	2011-07-10 18:28:46 UTC (rev 80370)
+++ trunk/dports/lang/gcc45/Portfile	2011-07-10 19:57:48 UTC (rev 80371)
@@ -111,6 +111,11 @@
 			RANLIB_FOR_TARGET=/usr/bin/ranlib \
 			STRIP_FOR_TARGET=/usr/bin/strip
 
+# http://trac.macports.org/ticket/29104
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler clang
+}
+
 build.target	bootstrap
 use_parallel_build	yes
 

Modified: trunk/dports/lang/gcc46/Portfile
===================================================================
--- trunk/dports/lang/gcc46/Portfile	2011-07-10 18:28:46 UTC (rev 80370)
+++ trunk/dports/lang/gcc46/Portfile	2011-07-10 19:57:48 UTC (rev 80371)
@@ -108,6 +108,11 @@
 			RANLIB_FOR_TARGET=/usr/bin/ranlib \
 			STRIP_FOR_TARGET=/usr/bin/strip
 
+# http://trac.macports.org/ticket/29104
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler clang
+}
+
 build.target	bootstrap
 use_parallel_build	yes
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110710/63cff180/attachment.html>


More information about the macports-changes mailing list