Ignore:
Timestamp:
Apr 3, 2013, 4:01:38 PM (6 years ago)
Author:
jeremyhu@…
Message:

webkit-gtk: Add support for gobject introspection

File:
1 edited

Legend:

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

    r104778 r104831  
    1010epoch           1
    1111version         2.0.0
     12revision        1
    1213description     Apple's WebKit HTML rendering library for GTK+
    1314long_description ${description}
     
    3031        port:enchant \
    3132        port:geoclue \
     33        port:gobject-introspection \
    3234        port:gtk2 \
    3335        port:harfbuzz \
     
    7274        --with-gtk=2.0 \
    7375        --disable-webkit2 \
    74         --disable-introspection \
     76        --enable-introspection \
    7577        --disable-video \
    7678        --enable-svg \
     
    8183# https://bugs.webkit.org/show_bug.cgi?id=94488
    8284configure.universal_args-delete --disable-dependency-tracking
     85
     86# gobject-introspection uses g-ir-scanner, which uses $CC from env
     87if {[variant_isset universal]} {
     88    foreach arch ${configure.universal_archs} {
     89        lappend merger_build_args(${arch})  CC='${configure.cc} -arch ${arch}'
     90    }
     91} else {
     92    build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
     93}
    8394
    8495# In 1.10.1:
Note: See TracChangeset for help on using the changeset viewer.