summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 06:49:28 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:01 +0000
commitb28258be998c4a4786d5f25690c7dd946265203d (patch)
tree8dc42ffa537d76828f4d10bfafdb23567e46ce6a
parenta4a3d372f6066393b385e1c0b2f139eb8ceb3b32 (diff)
downloadslackbuilds-b28258be998c4a4786d5f25690c7dd946265203d.tar.gz
desktop/pidgin-libnotify: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild b/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild
index 4f65a8a8a6..2d5a7e6fc1 100644
--- a/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild
+++ b/desktop/pidgin-libnotify/pidgin-libnotify.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pidgin-libnotify
-VERSION=0.14
+VERSION=${VERSION:-0.14}
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
@@ -42,8 +42,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING NEWS"
-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"