[133050] trunk/dports/lang/llvm-3.7/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Feb 18 17:04:37 PST 2015


Revision: 133050
          https://trac.macports.org/changeset/133050
Author:   jeremyhu at macports.org
Date:     2015-02-18 17:04:37 -0800 (Wed, 18 Feb 2015)
Log Message:
-----------
llvm-3.7: Use --disable-backtraces as a workaround for building on Snow Leopard (#46887)

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

Modified: trunk/dports/lang/llvm-3.7/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.7/Portfile	2015-02-19 00:37:03 UTC (rev 133049)
+++ trunk/dports/lang/llvm-3.7/Portfile	2015-02-19 01:04:37 UTC (rev 133050)
@@ -220,6 +220,12 @@
     if {${subport} eq "clang-${llvm_version}" && ${os.major} <= 9} {
         patchfiles-append leopard-no-asan.patch leopard-no-blocks.patch
     }
+
+    if {${os.major} < 11} {
+        # Proxy for eliminating the dependency on native TLS
+        # http://trac.macports.org/ticket/46887
+        configure.args-append --disable-backtraces
+    }
 }
 
 post-extract {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150218/0ab27c43/attachment.html>


More information about the macports-changes mailing list