Ticket #40422: qt4-mac_compiler_blacklist.patch

File qt4-mac_compiler_blacklist.patch, 1.3 KB (added by macports@…, 11 years ago)

Patch v2

  • Portfile

    old new  
    407407# this port when using MacPorts.  The versions seem to be: MacPorts
    408408# CLANG 3.0 or earlier, and Apple CLANG 318.0.61 or older.
    409409#
     410# * Apple GCC <= 4.0, which fails to build some newer Qt-based
     411# applications such as qt4-creator-mac.
     412#
    410413# See also:
    411414# < http://llvm.org/bugs/show_bug.cgi?id=8971 >,
    412415# < https://trac.macports.org/ticket/30271 >,
    413416# < https://trac.macports.org/ticket/31076 >,
    414 # < https://trac.macports.org/ticket/31638 >, and
    415 # < https://trac.macports.org/ticket/37868 >.
     417# < https://trac.macports.org/ticket/31638 >,
     418# < https://trac.macports.org/ticket/37868 >, and
     419# < https://trac.macports.org/ticket/39967 >.
    416420#
    417421# NOTE: qt4-mac augments the standard Qt4 configure script with
    418422# pre-qmake-build tests for CPATH, LIBRARY_PATH, -Xarch,
     
    422426# this blacklist.
    423427
    424428compiler.blacklist-append { clang <= 318.0.61 } \
    425     macports-gcc-4.1 macports-gcc-4.2 macports-gcc-4.3 \
    426     macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 \
    427     macports-gcc-4.7 macports-gcc-4.8 \
     429    gcc-3.3 *gcc-4.0 \
     430    macports-gcc-* \
    428431    macports-clang-2.9 macports-clang-3.0
    429432
    430433# --prefix is not recognized.