aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 06:52:24 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:03 +0000
commit4a02fb02a984aa91090f6fcd5fd1de4477717636 (patch)
treec6e3c586907534467770b4c82f8729137aafbf1e /desktop
parenta5e45b39210910e754f3213cf10e7c7f10daef4b (diff)
desktop/wmctrl: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmctrl/wmctrl.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/wmctrl/wmctrl.SlackBuild b/desktop/wmctrl/wmctrl.SlackBuild
index 0b88252f8ce1a..8c77d65848d80 100644
--- a/desktop/wmctrl/wmctrl.SlackBuild
+++ b/desktop/wmctrl/wmctrl.SlackBuild
@@ -7,13 +7,13 @@
# (assumed to be public domain per our submission policy)
PRGNAM=wmctrl
-VERSION=1.07
+VERSION=${VERSION:-1.07}
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
@@ -26,8 +26,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README"
-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"