Ticket #51472: portfile.diff
File portfile.diff, 2.1 KB (added by fredowski, 8 years ago) |
---|
-
Portfile
old new 38 38 port:readline \ 39 39 port:zlib 40 40 41 depends_build-append port:libglade2 \ 42 port:pkgconfig \ 41 depends_build-append port:pkgconfig \ 43 42 port:texinfo 44 43 45 44 post-extract { … … 79 78 build.target-append html 80 79 } 81 80 81 variant reloc requires quartz description {Enable relocation build for app bundle} { 82 configure.args-append --enable-relocatable 83 } 84 82 85 variant postgres description {Enables reading of postgresql databases} { 83 86 depends_lib-append port:postgresql92 84 87 configure.args-delete --without-libpq … … 89 92 variant gui description {Build PSPPIRE, the graphical interface} { 90 93 depends_lib-append port:atk \ 91 94 port:gdk-pixbuf2 \ 92 port:gtksourceview3 \ 93 port:libglade2 95 port:gtksourceview3 94 96 depends_run-append port:adwaita-icon-theme 95 97 96 98 configure.args-delete --without-gui … … 99 101 variant quartz requires gui { 100 102 require_active_variants gtk3 quartz 101 103 require_active_variants gtksourceview3 quartz 102 require_active_variants libglade2 quartz103 104 } 104 105 105 106 variant x11 requires gui { … … 125 126 126 127 # check for x11-poisoned dependencies 127 128 set x11 no 128 set depspecs {gtk3 libglade2}129 set depspecs {gtk3} 129 130 foreach depspec depspecs { 130 131 if {![catch {set result [active_variants $depspec x11]}]} { 131 132 if {$result} { … … 150 151 } 151 152 152 153 post-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" 154 155 155 156 } 156 157 157 158 post-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" 159 160 } 160 161 161 162 if {![variant_isset gui]} {