diff options
Diffstat (limited to 'libraries/libedit/libedit.SlackBuild')
-rw-r--r-- | libraries/libedit/libedit.SlackBuild | 11 |
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 |