Changeset 148956


Ignore:
Timestamp:
May 23, 2016, 6:16:24 PM (3 years ago)
Author:
snc@…
Message:

pspp: add +reloc, remove unused depend_lib:libglade, #51472

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/pspp/Portfile

    r147432 r148956  
    3939                    port:zlib
    4040
    41 depends_build-append    port:libglade2 \
    42                         port:pkgconfig \
     41depends_build-append    port:pkgconfig \
    4342                        port:texinfo
    4443
     
    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
     
    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
     
    100102    require_active_variants gtk3 quartz
    101103    require_active_variants gtksourceview3 quartz
    102     require_active_variants libglade2 quartz
    103104}
    104105
     
    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]}]} {
     
    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
Note: See TracChangeset for help on using the changeset viewer.