aboutsummaryrefslogtreecommitdiff
path: root/misc/uni2ascii/uni2ascii.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 00:50:45 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:14 +0000
commita7bbcde4b7b33c301b88ee509d436e3a958f6844 (patch)
tree54d12e4090fc50801c97bd65ea880a98376bce94 /misc/uni2ascii/uni2ascii.SlackBuild
parent02dad3666989e4321e78a535a03e12734b4cde7e (diff)
misc/uni2ascii: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/uni2ascii/uni2ascii.SlackBuild')
-rw-r--r--misc/uni2ascii/uni2ascii.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/uni2ascii/uni2ascii.SlackBuild b/misc/uni2ascii/uni2ascii.SlackBuild
index ef11e03494372..2c49bb3bc4755 100644
--- a/misc/uni2ascii/uni2ascii.SlackBuild
+++ b/misc/uni2ascii/uni2ascii.SlackBuild
@@ -4,13 +4,13 @@
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
PRGNAM=uni2ascii
-VERSION=4.18
+VERSION=${VERSION:-4.18}
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
@@ -21,8 +21,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"