summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/gtk-chtheme/gtk-chtheme.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
index 1ada16156f..d614522f4f 100644
--- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
+++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
@@ -25,13 +25,13 @@
# Modified by the SlackBuilds.org project
PRGNAM=gtk-chtheme
-VERSION=0.3.1
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-3}
-TAG=${TAG=_SBo}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="COPYING ChangeLog"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"