summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 14:09:43 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:05 +0000
commitd0a281b98152d4fe0679ff5be79eff64d9048c24 (patch)
tree3d0ee5fdb3435ed576157861390a181b94ab103d
parent7c2797fb17fad9a3b22c26afce1dfc003206c106 (diff)
downloadslackbuilds-d0a281b98152d4fe0679ff5be79eff64d9048c24.tar.gz
system/splix: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/splix/splix.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/splix/splix.SlackBuild b/system/splix/splix.SlackBuild
index 251afee867..6b631c785c 100644
--- a/system/splix/splix.SlackBuild
+++ b/system/splix/splix.SlackBuild
@@ -5,13 +5,13 @@
# Currently maintained by Glenn Becker <burningc@sdf.lonestar.org>
PRGNAM=splix
-VERSION=2.0.0
+VERSION=${VERSION:-2.0.0}
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
@@ -28,8 +28,8 @@ CUPSLIBS=$(cups-config --libs)
CUPSSERVERBIN=$(cups-config --serverbin)
CUPSDATADIR=$(cups-config --datadir)
-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"