aboutsummaryrefslogtreecommitdiff
path: root/system/motion
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 13:53:43 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:59 +0000
commitaa68530c6657add214e9a253e4e5c0ba116008bb (patch)
treee6690e4320983553684f8d7891b97cccd30d67ec /system/motion
parent429ba53ecb0cf59f2608b243aadfd29947e58794 (diff)
system/motion: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/motion')
-rw-r--r--system/motion/motion.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/motion/motion.SlackBuild b/system/motion/motion.SlackBuild
index f0de56ca903d2..38105e5dce50b 100644
--- a/system/motion/motion.SlackBuild
+++ b/system/motion/motion.SlackBuild
@@ -25,13 +25,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=motion
-VERSION=20120717_0fb31d6
+VERSION=${VERSION:-20120717_0fb31d6}
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
@@ -42,8 +42,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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then