summaryrefslogtreecommitdiff
path: root/libraries/libedit/libedit.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-03-04 05:36:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-04 05:36:55 +0700
commitd18722f3dda4de0f45fc4594456796eb401b4b29 (patch)
tree242e5b41cfb22e681da4ec92137fff5582c5cd71 /libraries/libedit/libedit.SlackBuild
parent2701aa8268c6a03358147e6e4e5ced3dc4f89677 (diff)
downloadslackbuilds-d18722f3dda4de0f45fc4594456796eb401b4b29.tar.gz
libraries/libedit: Updated for version 20140213-3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libedit/libedit.SlackBuild')
-rw-r--r--libraries/libedit/libedit.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/libedit/libedit.SlackBuild b/libraries/libedit/libedit.SlackBuild
index 4f0af35c7f..1696bfb787 100644
--- a/libraries/libedit/libedit.SlackBuild
+++ b/libraries/libedit/libedit.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libedit
-VERSION=${VERSION:-20130712_3.1}
+VERSION=${VERSION:-20140213_3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if [ "${LIBEDIT_WIDEC}" = 'yes' ];then
+ LIBEDIT_WIDEC='--enable-widec'
+else
+ LIBEDIT_WIDEC='--disable-widec'
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -78,7 +84,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ "${LIBEDIT_WIDEC}"
make
make install-strip DESTDIR=$PKG