[91667] trunk/dports/devel/smake/Portfile

jmr at macports.org jmr at macports.org
Sat Apr 7 05:59:53 PDT 2012


Revision: 91667
          https://trac.macports.org/changeset/91667
Author:   jmr at macports.org
Date:     2012-04-07 05:59:50 -0700 (Sat, 07 Apr 2012)
Log Message:
-----------
smake: the same hang occurs with clang in xcode versions where llvm-gcc-4.2 is the default, so fall back to gcc 4.2 (#31616)

Modified Paths:
--------------
    trunk/dports/devel/smake/Portfile

Modified: trunk/dports/devel/smake/Portfile
===================================================================
--- trunk/dports/devel/smake/Portfile	2012-04-07 12:35:21 UTC (rev 91666)
+++ trunk/dports/devel/smake/Portfile	2012-04-07 12:59:50 UTC (rev 91667)
@@ -25,7 +25,10 @@
 
 # https://trac.macports.org/ticket/31616
 if {${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler  clang
+    configure.compiler  gcc-4.2
+} elseif {${configure.compiler} == "clang" && [vercmp $xcodeversion 4.3] < 0} {
+    depends_build-append port:apple-gcc42
+    configure.compiler  apple-gcc-4.2
 }
 
 build.type		gnu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120407/8d69979b/attachment.html>


More information about the macports-changes mailing list