From 72ff403ad5ede45411a19c3174a0d9b197badc4c Mon Sep 17 00:00:00 2001 From: Andrew Brouwers Date: Thu, 13 May 2010 00:22:40 +0200 Subject: desktop/gtk-chtheme: Updated for version 0.3.1 --- desktop/gtk-chtheme/gtk-chtheme.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop/gtk-chtheme/gtk-chtheme.SlackBuild') diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild index 190f73b84a..d96334b396 100644 --- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild +++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild @@ -50,6 +50,8 @@ if [ "$ARCH" = "i486" ]; then sed -i 's#CFLAGS += -Wall#CFLAGS += -O2 -march=i486 -mtune=i686#' $TMP/$PRGNAM-$VERSION/Makefile elif [ "$ARCH" = "i686" ]; then sed -i 's#CFLAGS += -Wall#CFLAGS += -O2 -march=i686 -mtune=i686#' $TMP/$PRGNAM-$VERSION/Makefile +elif [ "$ARCH" = "x86_64" ]; then + sed -i 's#CFLAGS += -Wall#CFLAGS += -O2 -fPIC#' $TMP/$PRGNAM-$VERSION/Makefile fi make || exit 1 @@ -73,4 +75,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3