summaryrefslogtreecommitdiff
path: root/libraries/libedit/libedit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libedit/libedit.SlackBuild')
-rw-r--r--libraries/libedit/libedit.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/libedit/libedit.SlackBuild b/libraries/libedit/libedit.SlackBuild
index e0422cc250..3fd338ce80 100644
--- a/libraries/libedit/libedit.SlackBuild
+++ b/libraries/libedit/libedit.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for libedit
# Copyright 2011 Mikko Värri, Finland
+# Copyright 2013-2015 LEVAI Daniel <leva@ecentrum.hu>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libedit
-VERSION=${VERSION:-20140620_3.1}
+VERSION=${VERSION:-20160903_3.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
@@ -42,8 +43,8 @@ OUTPUT=${OUTPUT:-/tmp}
SRC_VERSION=$(echo $VERSION | tr _ -)
-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"