[108421] trunk/dports/devel/boost/Portfile

jmr at macports.org jmr at macports.org
Mon Jul 22 23:33:45 PDT 2013


Revision: 108421
          https://trac.macports.org/changeset/108421
Author:   jmr at macports.org
Date:     2013-07-22 23:33:44 -0700 (Mon, 22 Jul 2013)
Log Message:
-----------
boost: blacklist gcc 4.2 and older (#39809)

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

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2013-07-23 06:07:54 UTC (rev 108420)
+++ trunk/dports/devel/boost/Portfile	2013-07-23 06:33:44 UTC (rev 108421)
@@ -45,11 +45,6 @@
     # (http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Intel_Core_Solo.2FDuo.2C_Pentium_Dual-Core_T20xx.2FT21xx)
     # to fix broken 32-bit builds as per (https://trac.macports.org/ticket/35172).
     reinplace "s|-march=i386|-march=prescott|g" ${worksrcpath}/tools/build/v2/tools/gcc.jam
-    # If Apple's clang is used on 32-bit systems, it seems to silently ignore the '-march=i386' flag.
-    # (https://trac.macports.org/ticket/38157)
-    if {[lsearch ${build_arch} i386] != -1} {
-        compiler.blacklist clang
-    }
 }
 
 proc write_jam s {
@@ -60,8 +55,12 @@
 }
 
 # clang++ produces broken boost libraries (https://trac.macports.org/ticket/31525)
-compiler.blacklist macports-clang-2.9 macports-clang-3.0
-if {[vercmp $xcodeversion 4.4] < 0} {
+# If Apple's clang is used on 32-bit systems, it seems to silently ignore the '-march=i386' flag.
+# (https://trac.macports.org/ticket/38157)
+# gcc <= 4.2 does not support TR1 result_of protocol
+# https://trac.macports.org/ticket/39809
+compiler.blacklist macports-clang-2.9 macports-clang-3.0 llvm-gcc-4.2 apple-gcc-4.2 gcc-4.2 gcc-4.0 gcc-3.3
+if {[vercmp $xcodeversion 4.4] < 0 || [lsearch ${build_arch} i386] != -1} {
     compiler.blacklist-append clang
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130722/916293cb/attachment.html>


More information about the macports-changes mailing list