summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 04:29:43 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:41 +0000
commite16d0badfe9827c9b0ebbdee3c439ceb69811f81 (patch)
tree63dfbc3f07cebf7f45d5b023cc444ff433bdebe5
parentb438e89fc2d027f85b9593c6560821d36dd731a9 (diff)
downloadslackbuilds-e16d0badfe9827c9b0ebbdee3c439ceb69811f81.tar.gz
libraries/gtk-aurora-engine: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
index 42384aa24b..f3f38a86e5 100644
--- a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
+++ b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
@@ -30,13 +30,13 @@
# 1 - Initial release.
PRGNAM=gtk-aurora-engine
-VERSION=1.5.1
+VERSION=${VERSION:-1.5.1}
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
@@ -52,8 +52,8 @@ DOCS="AUTHORS COPYING ChangeLog NEWS README"
set -e
-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"