[85380] trunk/dports/cross/i386-mingw32-gcc/Portfile

jmr at macports.org jmr at macports.org
Wed Oct 12 22:05:35 PDT 2011


Revision: 85380
          http://trac.macports.org/changeset/85380
Author:   jmr at macports.org
Date:     2011-10-12 22:05:35 -0700 (Wed, 12 Oct 2011)
Log Message:
-----------
i386-mingw32-gcc: fix incomplete gcc-4.2 fallback, and avoid using clang as well

Modified Paths:
--------------
    trunk/dports/cross/i386-mingw32-gcc/Portfile

Modified: trunk/dports/cross/i386-mingw32-gcc/Portfile
===================================================================
--- trunk/dports/cross/i386-mingw32-gcc/Portfile	2011-10-13 04:43:29 UTC (rev 85379)
+++ trunk/dports/cross/i386-mingw32-gcc/Portfile	2011-10-13 05:05:35 UTC (rev 85380)
@@ -55,8 +55,12 @@
 			port:gettext
 
 # segfault when built with llvm on lion: #30349
-if {${configure.compiler} == "llvm-gcc-4.2"} {
+if {${configure.compiler} == "clang" || ${configure.compiler} == "llvm-gcc-4.2"} {
     configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        depends_build-append port:apple-gcc42
+        configure.compiler apple-gcc-4.2
+    }
 }
 
 # Build in a different directory, as advised in the README file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111012/755d6ff9/attachment.html>


More information about the macports-changes mailing list