Ignore:
Timestamp:
Dec 31, 2013, 5:48:37 AM (5 years ago)
Author:
jeremyhu@…
Message:

webkit-gtk: Remove blocks related to unsupported configurations

File:
1 edited

Legend:

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

    r115316 r115317  
    247247default_variants +video
    248248
    249 platform darwin {
    250     if {${os.major} < 10} {
    251         depends_build-append      port:python27
    252         # https://trac.macports.org/ticket/35793
    253         configure.python          ${prefix}/bin/python2.7
    254 
    255         # https://trac.macports.org/ticket/38682
    256         configure.optflags-append -fno-blocks
    257     }
    258 
    259     if {[string match "*10.5*" ${configure.sdkroot}] ||
    260         (${os.major} == 9 && ${configure.sdkroot} eq "")} {
    261 
    262         # https://trac.macports.org/ticket/37418
    263         configure.cppflags-append -D__MAC_OS_X_VERSION_MAX_ALLOWED=1050
    264     }
    265 
    266     if {[string match "*10.4*" ${configure.sdkroot}] ||
    267         (${os.major} == 8 && ${configure.sdkroot} eq "")} {
    268 
    269         # https://trac.macports.org/ticket/37828
    270         configure.cppflags-append -D__MAC_OS_X_VERSION_MAX_ALLOWED=1040
    271     }
    272 
    273     if {$macosx_deployment_target eq "10.4" ||
    274         (${os.major} == 8 && $macosx_deployment_target eq "")} {
    275 
    276         # https://trac.macports.org/ticket/37828
    277         configure.cppflags-append -D__MAC_OS_X_VERSION_MIN_REQUIRED=1040
    278     }
    279 }
    280 
    281 platform powerpc {
    282     # https://trac.macports.org/ticket/37839
    283     configure.optflags-replace -O2 -Os
    284 }
    285 
    286 if {[string match *clang* ${configure.compiler}]} {
     249if {[string match *clang* ${configure.cxx}]} {
    287250    configure.cxxflags-append -Wno-c++11-extensions
    288251}
Note: See TracChangeset for help on using the changeset viewer.