aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmctrl
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmctrl')
-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 0b88252f8ce1..8c77d65848d8 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"