[142849] trunk/dports/devel/libunwind/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Dec 12 07:29:48 PST 2015


Revision: 142849
          https://trac.macports.org/changeset/142849
Author:   jeremyhu at macports.org
Date:     2015-11-24 14:36:30 -0800 (Tue, 24 Nov 2015)
Log Message:
-----------
libunwind: Adjust blacklisting to fix build on Snow Leopard

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

Modified: trunk/dports/devel/libunwind/Portfile
===================================================================
--- trunk/dports/devel/libunwind/Portfile	2015-11-24 22:14:46 UTC (rev 142848)
+++ trunk/dports/devel/libunwind/Portfile	2015-11-24 22:36:30 UTC (rev 142849)
@@ -50,11 +50,6 @@
     }
 }
 
-set cxx_stdlibflags {}
-if {[string match *clang* ${configure.cxx}]} {
-    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
-}
-
 build.dir       ${worksrcpath}/src
 destroot.dir    ${build.dir}
 
@@ -77,8 +72,19 @@
         }
     }
 
+    # https://trac.macports.org/ticket/49779#comment:3
+    compiler.blacklist-append {clang < 100} *gcc-4.\[0123456\]
+
+    # Builds with 3.3 and 3.5+ but not 3.4.  Likely due to a regression in 3.4 that we should address.
+    compiler.blacklist-append macports-clang-3.4
+
     variant universal   {}
 
+    set cxx_stdlibflags {}
+    if {[string match *clang* ${configure.cxx}]} {
+        set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
+    }
+
     set asflags {}
     if {[variant_isset universal] && [lsearch ${universal_archs} ppc] != -1} {
         if {[string match *clang* ${configure.cc}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/d9e38288/attachment-0001.html>


More information about the macports-changes mailing list