Ticket #51472: portfile.diff

File portfile.diff, 2.1 KB (added by fredowski, 8 years ago)
  • Portfile

    old new  
    3838                    port:readline \
    3939                    port:zlib
    4040
    41 depends_build-append    port:libglade2 \
    42                         port:pkgconfig \
     41depends_build-append    port:pkgconfig \
    4342                        port:texinfo
    4443
    4544post-extract {
     
    7978    build.target-append  html
    8079}
    8180
     81variant reloc requires quartz description {Enable relocation build for app bundle} {
     82    configure.args-append --enable-relocatable
     83}
     84
    8285variant postgres description {Enables reading of postgresql databases} {
    8386    depends_lib-append  port:postgresql92
    8487    configure.args-delete   --without-libpq
     
    8992variant gui description {Build PSPPIRE, the graphical interface} {
    9093    depends_lib-append      port:atk \
    9194                            port:gdk-pixbuf2 \
    92                             port:gtksourceview3 \
    93                             port:libglade2
     95                            port:gtksourceview3
    9496    depends_run-append      port:adwaita-icon-theme
    9597
    9698    configure.args-delete   --without-gui
     
    99101variant quartz requires gui {
    100102    require_active_variants gtk3 quartz
    101103    require_active_variants gtksourceview3 quartz
    102     require_active_variants libglade2 quartz
    103104}
    104105
    105106variant x11 requires gui {
     
    125126
    126127# check for x11-poisoned dependencies
    127128set x11 no
    128 set depspecs {gtk3 libglade2}
     129set depspecs {gtk3}
    129130foreach depspec depspecs {
    130131    if {![catch {set result [active_variants $depspec x11]}]} {
    131132        if {$result} {
     
    150151}
    151152
    152153post-activate {
    153     system "${prefix}/bin/gtk-update-icon-cache --ignore-theme-index ${prefix}/share/icons/hicolor"
     154    system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"
    154155
    155156}
    156157
    157158post-deactivate {
    158     system "${prefix}/bin/gtk-update-icon-cache --ignore-theme-index ${prefix}/share/icons/hicolor"
     159    system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"
    159160}
    160161
    161162if {![variant_isset gui]} {