summaryrefslogtreecommitdiff
path: root/libraries/gtkglarea
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gtkglarea')
-rw-r--r--libraries/gtkglarea/gtkglarea.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/gtkglarea/gtkglarea.SlackBuild b/libraries/gtkglarea/gtkglarea.SlackBuild
index 3cadf3fc66..6819d035f3 100644
--- a/libraries/gtkglarea/gtkglarea.SlackBuild
+++ b/libraries/gtkglarea/gtkglarea.SlackBuild
@@ -4,13 +4,13 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM="gtkglarea"
-VERSION="1.99.0"
+VERSION=${VERSION:-1.99.0}
BUILD=${BUILD:-2}
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
@@ -23,8 +23,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
-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"