diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libedit/README | 7 | ||||
-rw-r--r-- | libraries/libedit/libedit.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/libedit/libedit.info | 6 |
3 files changed, 19 insertions, 5 deletions
diff --git a/libraries/libedit/README b/libraries/libedit/README index 0d54bbe870..026d498ff5 100644 --- a/libraries/libedit/README +++ b/libraries/libedit/README @@ -2,3 +2,10 @@ This is an autotool- and libtoolized port of the NetBSD Editline library (libedit). This Berkeley-style licensed command line editor library provides generic line editing, history, and tokenization functions, similar to those found in GNU Readline. + +The slackbuild has a build time variable called LIBEDIT_WIDEC, which if set to +`yes', turns on the wide character support of the built libedit library. +Although the support is there, initial testing shows that it acts weird, and +displays Unicode byte sequences instead of the real typed-in characters. You +can experiment with it, but don't count on it until it is cleared up. +The default build option was and is disabled widechar support. 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 diff --git a/libraries/libedit/libedit.info b/libraries/libedit/libedit.info index 521e070433..0aa57b4c30 100644 --- a/libraries/libedit/libedit.info +++ b/libraries/libedit/libedit.info @@ -1,8 +1,8 @@ PRGNAM="libedit" -VERSION="20130712_3.1" +VERSION="20140213_3.1" HOMEPAGE="http://www.thrysoee.dk/editline/" -DOWNLOAD="http://thrysoee.dk/editline/libedit-20130712-3.1.tar.gz" -MD5SUM="0891336c697362727a1fa7e60c5cb96c" +DOWNLOAD="http://thrysoee.dk/editline/libedit-20140213-3.1.tar.gz" +MD5SUM="50bacd08cb42cae5dc437c28d71f39bd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |