summaryrefslogtreecommitdiff
path: root/development/jam
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 14:50:44 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:15 +0000
commit3a02e990f1e53ef8190cc7e7e02cdec2d374178f (patch)
treec377b2a50fde3860a384cbcf03b420be1ee95c89 /development/jam
parenta0cd3ec5c2b506184bad062511854535b593f4dc (diff)
downloadslackbuilds-3a02e990f1e53ef8190cc7e7e02cdec2d374178f.tar.gz
development/jam: VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/jam')
-rw-r--r--development/jam/jam.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/jam/jam.SlackBuild b/development/jam/jam.SlackBuild
index bd196e9b84..124e2eb3f5 100644
--- a/development/jam/jam.SlackBuild
+++ b/development/jam/jam.SlackBuild
@@ -25,13 +25,13 @@
# Thanks to Andrew Brouwers for some improvements.
PRGNAM=jam
-VERSION=2.5
+VERSION=${VERSION:-2.5}
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
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"