[91468] trunk/dports/lang/llvm-gcc42/Portfile

jmr at macports.org jmr at macports.org
Mon Apr 2 12:21:10 PDT 2012


Revision: 91468
          https://trac.macports.org/changeset/91468
Author:   jmr at macports.org
Date:     2012-04-02 12:21:10 -0700 (Mon, 02 Apr 2012)
Log Message:
-----------
llvm-gcc42: fix deps on 10.6 to match comment

Modified Paths:
--------------
    trunk/dports/lang/llvm-gcc42/Portfile

Modified: trunk/dports/lang/llvm-gcc42/Portfile
===================================================================
--- trunk/dports/lang/llvm-gcc42/Portfile	2012-04-02 19:17:28 UTC (rev 91467)
+++ trunk/dports/lang/llvm-gcc42/Portfile	2012-04-02 19:21:10 UTC (rev 91468)
@@ -69,7 +69,8 @@
 
 # gcc-4.0 produces a bad x86_64 slice, and Leopard's gcc-4.2 doesn't build this properly,
 # so use MacPorts-provided apple-gcc-4.2 to build us on 10.[45]
-if {${configure.compiler} == "gcc-4.0" || ${configure.compiler} == "gcc-4.2"} {
+if {${configure.compiler} == "gcc-4.0" || 
+    (${configure.compiler} == "gcc-4.2" && ${os.major} < 10)} {
     depends_build-append port:apple-gcc42
     configure.compiler apple-gcc-4.2
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120402/f4778e88/attachment.html>


More information about the macports-changes mailing list