summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 04:43:29 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:45 +0000
commit417ee6f1707eb4e8370f15965d78b94cf27aec9a (patch)
tree3363086bd117d99010a96bc3fe84b65f6011529c /network
parente4f2d2a4926b2f35251283b9a4111d612f71c470 (diff)
downloadslackbuilds-417ee6f1707eb4e8370f15965d78b94cf27aec9a.tar.gz
network/sshfs-fuse: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/sshfs-fuse/sshfs-fuse.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/sshfs-fuse/sshfs-fuse.SlackBuild b/network/sshfs-fuse/sshfs-fuse.SlackBuild
index a105f69798..1e43941878 100644
--- a/network/sshfs-fuse/sshfs-fuse.SlackBuild
+++ b/network/sshfs-fuse/sshfs-fuse.SlackBuild
@@ -23,13 +23,13 @@
PRGNAM=sshfs-fuse
SRCNAM=sshfs
-VERSION=${VERSION=2.8}
+VERSION=${VERSION:-2.8}
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
@@ -40,8 +40,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"