summaryrefslogtreecommitdiff
path: root/network/macchanger
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 04:23:08 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:37 +0000
commited0d715f5a5f6cbebf6e45cd20d13fe1da7e0387 (patch)
treea79dbd3a6b07756ffe9e3d04c7be136d8b4431b7 /network/macchanger
parent06d57249d24e694ca5fd7b243fb43daf7015a8f7 (diff)
downloadslackbuilds-ed0d715f5a5f6cbebf6e45cd20d13fe1da7e0387.tar.gz
network/macchanger: 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/macchanger')
-rw-r--r--network/macchanger/macchanger.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/macchanger/macchanger.SlackBuild b/network/macchanger/macchanger.SlackBuild
index 0d424d8f40..1cb5f3bea5 100644
--- a/network/macchanger/macchanger.SlackBuild
+++ b/network/macchanger/macchanger.SlackBuild
@@ -9,13 +9,13 @@
PRGNAM=macchanger
-VERSION=1.5.0
+VERSION=${VERSION:-1.5.0}
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
@@ -28,8 +28,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING INSTALL NEWS README ChangeLog"
-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"