aboutsummaryrefslogtreecommitdiff
path: root/xorg/gtk+3/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/gtk+3/build')
-rwxr-xr-xxorg/gtk+3/build10
1 files changed, 6 insertions, 4 deletions
diff --git a/xorg/gtk+3/build b/xorg/gtk+3/build
index 9db3b285..7f49f150 100755
--- a/xorg/gtk+3/build
+++ b/xorg/gtk+3/build
@@ -1,11 +1,13 @@
#!/bin/sh -e
# Remove 'atk-bridge' dependency which removes the 'dbus' dependency.
-sed -i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \
- configure
+sed 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \
+ configure > configure.bak && mv configure.bak configure
+chmod +x configure
-sed -i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
- gtk/a11y/gtkaccessibility.c
+sed '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
+ gtk/a11y/gtkaccessibility.c > sed.bak
+mv sed.bak gtk/ally/gtkaccessibility.c
./configure \
--prefix=/usr \