summaryrefslogtreecommitdiff
path: root/development/jam/jam.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/jam/jam.SlackBuild')
-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"