[113945] trunk/dports/lang/llvm-3.4/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Nov 26 01:25:52 PST 2013


Revision: 113945
          https://trac.macports.org/changeset/113945
Author:   jeremyhu at macports.org
Date:     2013-11-26 01:25:52 -0800 (Tue, 26 Nov 2013)
Log Message:
-----------
llvm-3.4: Build fix for Leopard (workaround #41548)

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

Modified: trunk/dports/lang/llvm-3.4/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.4/Portfile	2013-11-26 08:27:17 UTC (rev 113944)
+++ trunk/dports/lang/llvm-3.4/Portfile	2013-11-26 09:25:52 UTC (rev 113945)
@@ -153,15 +153,21 @@
     if {${subport} == "clang-${llvm_version}" && ${os.major} <= 9} {
         patchfiles-append leopard-no-asan.patch
     }
-}
 
-platform darwin 8 {
-    # Tiger's DevTools make has issues with the nested ifs in compiler-rt
-    depends_run-append      port:gmake
-    build.cmd               ${prefix}/bin/gmake
+    if {${os.major} < 10} {
+        post-patch {
+            reinplace "/TARGETS_TO_BUILD=/s/R600//" ${worksrcpath}/configure
+        }
+    }
 
-    post-configure {
-        reinplace "/^RPATH/s/=.*/=/" ${worksrcpath}/Makefile.config
+    if {${os.major} < 9} {
+        # Tiger's DevTools make has issues with the nested ifs in compiler-rt
+        depends_run-append      port:gmake
+        build.cmd               ${prefix}/bin/gmake
+
+        post-configure {
+            reinplace "/^RPATH/s/=.*/=/" ${worksrcpath}/Makefile.config
+        }
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131126/d66f7374/attachment.html>


More information about the macports-changes mailing list