diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 04:22:44 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:37 +0000 |
commit | 06d57249d24e694ca5fd7b243fb43daf7015a8f7 (patch) | |
tree | 5a0852c3a71678f928fd10de58f6530de976c278 | |
parent | 9b9e91baaa9fba2cd3ab888682a5b5681898319f (diff) |
network/lurc: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | network/lurc/lurc.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/lurc/lurc.SlackBuild b/network/lurc/lurc.SlackBuild index 5a0a33b2035c..8372fba19469 100644 --- a/network/lurc/lurc.SlackBuild +++ b/network/lurc/lurc.SlackBuild @@ -22,13 +22,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=lurc -VERSION=0.0.5.4 +VERSION=${VERSION:-0.0.5.4} 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 @@ -39,8 +39,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" |