aboutsummaryrefslogtreecommitdiff
path: root/development/cvsps
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 14:46:56 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:13 +0000
commitdd285b176bdb0d95e0c22ea065c31acc8e73afc6 (patch)
tree0e1955b83bce60445bf5b70770c013bb54097ec1 /development/cvsps
parent00acf4d7ace76aee0af4b98d33f30dc01650365b (diff)
development/cvsps: VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/cvsps')
-rw-r--r--development/cvsps/cvsps.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/cvsps/cvsps.SlackBuild b/development/cvsps/cvsps.SlackBuild
index a70ccec3113aa..fba8bdb3649ff 100644
--- a/development/cvsps/cvsps.SlackBuild
+++ b/development/cvsps/cvsps.SlackBuild
@@ -3,13 +3,13 @@
# Written by JK Wood <joshuakwood@gmail.com>
PRGNAM=cvsps
-VERSION=2.2b1
+VERSION=${VERSION:-2.2b1}
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
@@ -20,8 +20,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"