[97624] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 9 23:20:15 PDT 2012


Revision: 97624
          https://trac.macports.org/changeset/97624
Author:   jeremyhu at macports.org
Date:     2012-09-09 23:20:13 -0700 (Sun, 09 Sep 2012)
Log Message:
-----------
llvm-*: Workaround the Apple driver-driver bug with llvm-gcc as well (#34366)

Modified Paths:
--------------
    trunk/dports/lang/llvm-2.9/Portfile
    trunk/dports/lang/llvm-3.0/Portfile
    trunk/dports/lang/llvm-3.1/Portfile
    trunk/dports/lang/llvm-3.2/Portfile

Modified: trunk/dports/lang/llvm-2.9/Portfile
===================================================================
--- trunk/dports/lang/llvm-2.9/Portfile	2012-09-10 06:16:00 UTC (rev 97623)
+++ trunk/dports/lang/llvm-2.9/Portfile	2012-09-10 06:20:13 UTC (rev 97624)
@@ -136,7 +136,8 @@
         # workaround a bug in Apple's shipped gcc driver-driver, patched in
         # ours with driverdriver-num_infiles.patch
         if {${configure.compiler} == "gcc-4.0" ||
-            ${configure.compiler} == "gcc-4.2"} {
+            ${configure.compiler} == "gcc-4.2" ||
+            ${configure.compiler} == "llvm-gcc-4.2"} {
             system "echo \"static int ___ignoreme;\" > ${worksrcpath}/tools/llvm-shlib/ignore.c"
         }
     }

Modified: trunk/dports/lang/llvm-3.0/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.0/Portfile	2012-09-10 06:16:00 UTC (rev 97623)
+++ trunk/dports/lang/llvm-3.0/Portfile	2012-09-10 06:20:13 UTC (rev 97624)
@@ -136,7 +136,8 @@
         # workaround a bug in Apple's shipped gcc driver-driver, patched in
         # ours with driverdriver-num_infiles.patch
         if {${configure.compiler} == "gcc-4.0" ||
-            ${configure.compiler} == "gcc-4.2"} {
+            ${configure.compiler} == "gcc-4.2" ||
+            ${configure.compiler} == "llvm-gcc-4.2"} {
             system "echo \"static int ___ignoreme;\" > ${worksrcpath}/tools/llvm-shlib/ignore.c"
         }
     }

Modified: trunk/dports/lang/llvm-3.1/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.1/Portfile	2012-09-10 06:16:00 UTC (rev 97623)
+++ trunk/dports/lang/llvm-3.1/Portfile	2012-09-10 06:20:13 UTC (rev 97624)
@@ -140,7 +140,8 @@
         # workaround a bug in Apple's shipped gcc driver-driver, patched in
         # ours with driverdriver-num_infiles.patch
         if {${configure.compiler} == "gcc-4.0" ||
-            ${configure.compiler} == "gcc-4.2"} {
+            ${configure.compiler} == "gcc-4.2" ||
+            ${configure.compiler} == "llvm-gcc-4.2"} {
             system "echo \"static int ___ignoreme;\" > ${worksrcpath}/tools/llvm-shlib/ignore.c"
         }
     }

Modified: trunk/dports/lang/llvm-3.2/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.2/Portfile	2012-09-10 06:16:00 UTC (rev 97623)
+++ trunk/dports/lang/llvm-3.2/Portfile	2012-09-10 06:20:13 UTC (rev 97624)
@@ -126,7 +126,8 @@
         # workaround a bug in Apple's shipped gcc driver-driver, patched in
         # ours with driverdriver-num_infiles.patch
         if {${configure.compiler} == "gcc-4.0" ||
-            ${configure.compiler} == "gcc-4.2"} {
+            ${configure.compiler} == "gcc-4.2" ||
+            ${configure.compiler} == "llvm-gcc-4.2"} {
             system "echo \"static int ___ignoreme;\" > ${worksrcpath}/tools/llvm-shlib/ignore.c"
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120909/a04961eb/attachment.html>


More information about the macports-changes mailing list