summaryrefslogtreecommitdiffstats
path: root/system/imwheel/imwheel.SlackBuild
diff options
context:
space:
mode:
author David Woodfall <dave@dawoodfall.net>2018-03-27 12:39:55 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-31 07:41:32 +0700
commitc69d1c195ba228f8a13adebf400042520cee3c93 (patch)
treea8ec66119f626c6aaaa8857a41791f6959d68b49 /system/imwheel/imwheel.SlackBuild
parent689a2e51cc6cd24fa0da10b2e8c52419eca60ca1 (diff)
downloadslackbuilds-c69d1c195ba228f8a13adebf400042520cee3c93.tar.gz
slackbuilds-c69d1c195ba228f8a13adebf400042520cee3c93.tar.xz
system/imwheel: Switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/imwheel/imwheel.SlackBuild')
-rw-r--r--system/imwheel/imwheel.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/system/imwheel/imwheel.SlackBuild b/system/imwheel/imwheel.SlackBuild
index 1205333765..5c5dce1a82 100644
--- a/system/imwheel/imwheel.SlackBuild
+++ b/system/imwheel/imwheel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for imwheel
-# Copyright 2009 David Woodfall <dave@unrealize.co.uk>
+# Copyright 2009 David Woodfall <dave@dawoodfall.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +24,12 @@
PRGNAM=imwheel
VERSION=${VERSION:-1.0.0pre12}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
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"
@@ -70,10 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-if [ ${PATCH:-"yes"} != "yes" ]; then
- true # do not apply patch
-else
- patch -p1 < $CWD/noautoconfigurator.patch
+if [ "${PATCH:-yes}" = "yes" ]; then
+ patch --verbose -p1 < $CWD/noautoconfigurator.patch
fi
CFLAGS="$SLKCFLAGS" \