From 8f9a030a9ca81fe649a36705e95fc6b6a1137b86 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 04:30:20 -0400 Subject: libraries/purple-plugin_pack: Allow VERSION override, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libraries/purple-plugin_pack') diff --git a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild index a16617f7fc..ee7ee9071d 100644 --- a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild +++ b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild @@ -4,13 +4,13 @@ # Heavily modified by Robby Workman of the SlackBuilds.org project PRGNAM=purple-plugin_pack -VERSION=2.5.1 +VERSION=${VERSION:-2.5.1} 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,11 +21,11 @@ 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=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" -- cgit v1.2.3