[148956] trunk/dports/math/pspp/Portfile
snc at macports.org
snc at macports.org
Mon May 23 11:16:24 PDT 2016
Revision: 148956
https://trac.macports.org/changeset/148956
Author: snc at macports.org
Date: 2016-05-23 11:16:24 -0700 (Mon, 23 May 2016)
Log Message:
-----------
pspp: add +reloc, remove unused depend_lib:libglade, #51472
Modified Paths:
--------------
trunk/dports/math/pspp/Portfile
Modified: trunk/dports/math/pspp/Portfile
===================================================================
--- trunk/dports/math/pspp/Portfile 2016-05-23 18:04:08 UTC (rev 148955)
+++ trunk/dports/math/pspp/Portfile 2016-05-23 18:16:24 UTC (rev 148956)
@@ -38,8 +38,7 @@
port:readline \
port:zlib
-depends_build-append port:libglade2 \
- port:pkgconfig \
+depends_build-append port:pkgconfig \
port:texinfo
post-extract {
@@ -79,6 +78,10 @@
build.target-append html
}
+variant reloc requires quartz description {Enable relocation build for app bundle} {
+ configure.args-append --enable-relocatable
+}
+
variant postgres description {Enables reading of postgresql databases} {
depends_lib-append port:postgresql92
configure.args-delete --without-libpq
@@ -89,8 +92,7 @@
variant gui description {Build PSPPIRE, the graphical interface} {
depends_lib-append port:atk \
port:gdk-pixbuf2 \
- port:gtksourceview3 \
- port:libglade2
+ port:gtksourceview3
depends_run-append port:adwaita-icon-theme
configure.args-delete --without-gui
@@ -99,7 +101,6 @@
variant quartz requires gui {
require_active_variants gtk3 quartz
require_active_variants gtksourceview3 quartz
- require_active_variants libglade2 quartz
}
variant x11 requires gui {
@@ -125,7 +126,7 @@
# check for x11-poisoned dependencies
set x11 no
-set depspecs {gtk3 libglade2}
+set depspecs {gtk3}
foreach depspec depspecs {
if {![catch {set result [active_variants $depspec x11]}]} {
if {$result} {
@@ -150,12 +151,12 @@
}
post-activate {
- system "${prefix}/bin/gtk-update-icon-cache --ignore-theme-index ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"
}
post-deactivate {
- system "${prefix}/bin/gtk-update-icon-cache --ignore-theme-index ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"
}
if {![variant_isset gui]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160523/e9cc6415/attachment.html>
More information about the macports-changes
mailing list