ports/ncurses: Enable widec support and disable test compilation
There is one test with buggy macros that does not compile and im not feeling like making a patch for it now :^)
This commit is contained in:
@@ -9,15 +9,20 @@ CONFIGURE_OPTIONS=(
|
|||||||
"--with-pkg-config-libdir=/usr/lib/pkgconfig"
|
"--with-pkg-config-libdir=/usr/lib/pkgconfig"
|
||||||
'--enable-pc-files'
|
'--enable-pc-files'
|
||||||
'--enable-sigwinch'
|
'--enable-sigwinch'
|
||||||
'--disable-widec'
|
|
||||||
'--with-shared'
|
'--with-shared'
|
||||||
'--with-trace'
|
'--without-tests'
|
||||||
'--without-ada'
|
'--without-ada'
|
||||||
'--without-manpages'
|
'--without-manpages'
|
||||||
CFLAGS='-std=c17'
|
CFLAGS='-std=c17'
|
||||||
)
|
)
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
for lib in ncurses ncurses++ form panel menu; do
|
||||||
|
ln -sv ${lib}w.pc "$DESTDIR/usr/lib/pkgconfig/$lib.pc"
|
||||||
|
done
|
||||||
|
|
||||||
|
ln -sv libncursesw.so "$DESTDIR/usr/lib/libncurses.so"
|
||||||
|
|
||||||
shellrc="$BANAN_SYSROOT/home/user/.shellrc"
|
shellrc="$BANAN_SYSROOT/home/user/.shellrc"
|
||||||
grep -q 'export NCURSES_NO_UTF8_ACS=' "$shellrc" || echo 'export NCURSES_NO_UTF8_ACS=1' >> "$shellrc"
|
grep -q 'export NCURSES_NO_UTF8_ACS=' "$shellrc" || echo 'export NCURSES_NO_UTF8_ACS=1' >> "$shellrc"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user