summaryrefslogtreecommitdiff
path: root/network/clive/clive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/clive/clive.SlackBuild')
-rw-r--r--network/clive/clive.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/clive/clive.SlackBuild b/network/clive/clive.SlackBuild
index 17a6f37a55..2e2e786ee7 100644
--- a/network/clive/clive.SlackBuild
+++ b/network/clive/clive.SlackBuild
@@ -24,13 +24,13 @@
# modified by Javier Rojas <jerojasro@devnull.li> to fit clive
PRGNAM=clive
-VERSION=1.0.1
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
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
@@ -41,8 +41,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" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"