repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 90ae6ac4ba0cce22ac06409d84445c45035ab55f
parent 1f29587e038b8e457cb877ff24c81b5d1af69bae
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue,  7 Jan 2020 00:34:59 +0300

ncurses: Force non-wide ncurses lib to link against ncursesw (See kiss-repo #131)

Diffstat:
Mextra/ncurses/build | 12++++++++++++
Mextra/ncurses/version | 2+-
2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/extra/ncurses/build b/extra/ncurses/build @@ -16,6 +16,18 @@ make make DESTDIR="$1" install +# Force ncurses to link against wide-character ncurses library. +for lib in ncurses form panel menu; do + rm -f "$1/usr/lib/lib${lib}.so" + printf '%s\n' "INPUT(-l${lib}w)" > "$1/usr/lib/lib${lib}.so" + chmod 755 "$1/usr/lib/lib${lib}.so" + ln -sf "lib${lib}w.a" "$1/usr/lib/lib${lib}.a" +done + +# Some packages look for libcurses instead of libncurses when building. +printf '%s\n' "INPUT(-lncursesw)" > "$1/usr/lib/libcursesw.so" +ln -s libncurses.so "$1/usr/lib/libcurses.so" + # These conflict with busybox's. rm -f "$1/usr/bin/clear" rm -f "$1/usr/bin/reset" diff --git a/extra/ncurses/version b/extra/ncurses/version @@ -1 +1 @@ -6.1 1 +6.1 2