From 6f852812ef76b3949bffa070551ce3d99f5f30d9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 8 Oct 2019 09:53:28 +0300 Subject: [PATCH] gtk+2: simplify build --- xorg/gtk+2/build | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/xorg/gtk+2/build b/xorg/gtk+2/build index a40b86e7..7bb2318b 100755 --- a/xorg/gtk+2/build +++ b/xorg/gtk+2/build @@ -1,11 +1,8 @@ #!/bin/sh -e -triplet=$(cc -dumpmachine) export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED" ./configure \ - --build="$triplet" \ - --host="$triplet" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -13,11 +10,9 @@ export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED" --disable-gtk-doc \ --with-xinput=yes -sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool -sed -i -e 's/demos //g' Makefile - make make DESTDIR="$1" install -# Conflicts with GTK+3. rm -f "$1/usr/bin/gtk-update-icon-cache" +rm -f "$1/usr/bin/gtk-demo" +rm -rf "$1/usr/share/gtk-2.0/demo"