summaryrefslogtreecommitdiff
path: root/libraries/gtkglarea
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 04:29:13 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:41 +0000
commitb438e89fc2d027f85b9593c6560821d36dd731a9 (patch)
tree476a008ae3c1b3b355dc985e6cc4cb01689a79f7 /libraries/gtkglarea
parent36d5350298283d3d78a46e492d45b3653874ef62 (diff)
downloadslackbuilds-b438e89fc2d027f85b9593c6560821d36dd731a9.tar.gz
libraries/gtkglarea: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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"