summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 06:49:06 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:01 +0000
commita4a3d372f6066393b385e1c0b2f139eb8ceb3b32 (patch)
tree57f9b011a42d7a96010e7f240ad8f09a8521a4a1 /desktop
parent63617d235b1c9b2a77c5befdb76e85a693041ead (diff)
downloadslackbuilds-a4a3d372f6066393b385e1c0b2f139eb8ceb3b32.tar.gz
desktop/pidgin-guifications: 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/pidgin-guifications/pidgin-guifications.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/pidgin-guifications/pidgin-guifications.SlackBuild b/desktop/pidgin-guifications/pidgin-guifications.SlackBuild
index faee0c98a6..d01e62ef8a 100644
--- a/desktop/pidgin-guifications/pidgin-guifications.SlackBuild
+++ b/desktop/pidgin-guifications/pidgin-guifications.SlackBuild
@@ -4,13 +4,13 @@
# Written by Andrew Brouwers
PRGNAM=pidgin-guifications
-VERSION=2.16
+VERSION=${VERSION:-2.16}
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
@@ -21,8 +21,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"