Ignore:
Timestamp:
Aug 31, 2013, 10:52:44 PM (6 years ago)
Author:
jeremyhu@…
Message:

webkit-gtk: Build fix for Leopard and earlier (#38682)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/webkit-gtk/Portfile

    r108906 r110511  
    119119configure.universal_args-delete --disable-dependency-tracking
    120120
     121# configure checks that we're clang 3.0, gcc 4.7, or better
     122compiler.blacklist-append gcc-3.3 gcc-4.0 apple-gcc-4.0 gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
     123compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6
     124compiler.blacklist-append {clang < 300} macports-clang-2.9
     125
    121126# gobject-introspection uses g-ir-scanner, which uses $CC from env
    122127if {[variant_isset universal]} {
     
    153158autoreconf.args -fvi
    154159
    155 # configure checks that we're clang 3.0, gcc 4.7, or better
    156 compiler.blacklist-append gcc-3.3 gcc-4.0 apple-gcc-4.0 gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
    157 compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6
    158 compiler.blacklist-append {clang < 300} macports-clang-2.9
    159 
    160 if {[string match *clang* ${configure.compiler}]} {
    161     configure.cxxflags-append -Wno-c++11-extensions
    162 }
    163 
    164160lappend merger_dont_diff ${prefix}/include/webkitgtk-1.0/webkitdom/WebKitDOMNavigator.h
    165161
     
    218214        # https://trac.macports.org/ticket/35793
    219215        configure.python          ${prefix}/bin/python2.7
     216
     217        # https://trac.macports.org/ticket/38682
     218        configure.optflags-append -fno-blocks
    220219    }
    221220
     
    244243platform powerpc {
    245244    # https://trac.macports.org/ticket/37839
    246     configure.optflags -Os
     245    configure.optflags-replace -O2 -Os
     246}
     247
     248if {[string match *clang* ${configure.compiler}]} {
     249    configure.cxxflags-append -Wno-c++11-extensions
    247250}
    248251
Note: See TracChangeset for help on using the changeset viewer.