summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 04:34:47 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:41 +0000
commit0b808da71a2af38d914fd8493711ce4eaf6c50f8 (patch)
tree1004ac5968f52408944b4802f5663ab00f963dfc /network
parentfdbc179dd33da530c527e6b24e2a8417b83f5aac (diff)
downloadslackbuilds-0b808da71a2af38d914fd8493711ce4eaf6c50f8.tar.gz
network/pidgin-toobars: 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')
-rw-r--r--network/pidgin-toobars/pidgin-toobars.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/pidgin-toobars/pidgin-toobars.SlackBuild b/network/pidgin-toobars/pidgin-toobars.SlackBuild
index 6cc4883c65..5154b8489c 100644
--- a/network/pidgin-toobars/pidgin-toobars.SlackBuild
+++ b/network/pidgin-toobars/pidgin-toobars.SlackBuild
@@ -5,13 +5,13 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=pidgin-toobars
-VERSION=1.14
+VERSION=${VERSION:-1.14}
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
@@ -22,8 +22,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"