Ticket #38682: webkit-gtk.diff
File webkit-gtk.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
118 118 # https://bugs.webkit.org/show_bug.cgi?id=94488 119 119 configure.universal_args-delete --disable-dependency-tracking 120 120 121 # configure checks that we're clang 3.0, gcc 4.7, or better 122 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 123 compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 124 compiler.blacklist-append {clang < 300} macports-clang-2.9 125 121 126 # gobject-introspection uses g-ir-scanner, which uses $CC from env 122 127 if {[variant_isset universal]} { 123 128 foreach arch ${configure.universal_archs} { … … 152 157 use_autoreconf yes 153 158 autoreconf.args -fvi 154 159 155 # configure checks that we're clang 3.0, gcc 4.7, or better156 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.2157 compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6158 compiler.blacklist-append {clang < 300} macports-clang-2.9159 160 if {[string match *clang* ${configure.compiler}]} {161 configure.cxxflags-append -Wno-c++11-extensions162 }163 164 160 lappend merger_dont_diff ${prefix}/include/webkitgtk-1.0/webkitdom/WebKitDOMNavigator.h 165 161 166 162 post-patch { … … 217 213 depends_build-append port:python27 218 214 # https://trac.macports.org/ticket/35793 219 215 configure.python ${prefix}/bin/python2.7 216 217 # https://trac.macports.org/ticket/38682 218 configure.optflags-append -fno-blocks 220 219 } 221 220 222 221 if {[string match "*10.5*" ${configure.sdkroot}] || … … 243 242 244 243 platform powerpc { 245 244 # https://trac.macports.org/ticket/37839 246 configure.optflags -Os245 configure.optflags-replace -O2 -Os 247 246 } 248 247 248 if {[string match *clang* ${configure.compiler}]} { 249 configure.cxxflags-append -Wno-c++11-extensions 250 } 251 249 252 livecheck.type regex 250 253 livecheck.url http://webkitgtk.org/?page=download 251 254 livecheck.regex webkitgtk-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)