diff options
author | slakmagik <jsun@freeshell.org> | 2010-05-11 22:22:33 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:22:33 +0200 |
commit | ebe06dfc073dff259a0acb304db14ead7b3ce803 (patch) | |
tree | 53fab10e04dfc5c2539fe3f0c7d58223c9d1ae7f /development/gtkdialog/gtkdialog.SlackBuild | |
parent | 8d9e7eff310ad62124e8ff88fb881dde4db37101 (diff) | |
download | slackbuilds-ebe06dfc073dff259a0acb304db14ead7b3ce803.tar.gz |
development/gtkdialog: Updated for version 0.7.20
Diffstat (limited to 'development/gtkdialog/gtkdialog.SlackBuild')
-rw-r--r-- | development/gtkdialog/gtkdialog.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/development/gtkdialog/gtkdialog.SlackBuild b/development/gtkdialog/gtkdialog.SlackBuild index fc4ddf0f4a..98a2ec5cfd 100644 --- a/development/gtkdialog/gtkdialog.SlackBuild +++ b/development/gtkdialog/gtkdialog.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=gtkdialog VERSION=0.7.20 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -36,6 +38,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; +# Fix an infinite loop caused by a pair of statements not being contained in +# braces. Thanks to David B. Cortarello +patch -p1 < $CWD/gtkdialog-0.7.20-variables-export-fix.patch + CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./configure --prefix=/usr make make DESTDIR=$PKG install-strip |