summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 04:03:53 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:30 +0000
commit57a9245f42f7f36e4b9afa7c2120ad297de8e1d5 (patch)
treeaff0d18527ff975ddc4681bf18a0e1c504fe844c
parentaca2470e7e98e428cbd4f66778ad2d20ef3d1eeb (diff)
downloadslackbuilds-57a9245f42f7f36e4b9afa7c2120ad297de8e1d5.tar.gz
network/clive: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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"