From 57a9245f42f7f36e4b9afa7c2120ad297de8e1d5 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 21 Mar 2017 04:03:53 -0400 Subject: network/clive: Allow VERSION override, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- network/clive/clive.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'network') 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 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" -- cgit v1.2.3