ncurses: fix crosscompile target ncurses.h

NCURSES_ENABLE_STDBOOL_H was not being set correctly
This commit is contained in:
Rudi Heitbaum 2024-12-10 15:15:35 +00:00
parent eec0acc580
commit 05516fc5eb

View File

@ -59,7 +59,8 @@ PKG_CONFIGURE_OPTS_TARGET="--without-ada \
--disable-home-terminfo \ --disable-home-terminfo \
--disable-assertions \ --disable-assertions \
--enable-leaks \ --enable-leaks \
--enable-sigwinch" --enable-sigwinch \
--cache-file=config.cache"
PKG_CONFIGURE_OPTS_HOST="--enable-termcap \ PKG_CONFIGURE_OPTS_HOST="--enable-termcap \
--with-termlib \ --with-termlib \
@ -67,6 +68,13 @@ PKG_CONFIGURE_OPTS_HOST="--enable-termcap \
--enable-pc-files \ --enable-pc-files \
--without-manpages" --without-manpages"
pre_configure_target() {
cat >config.cache <<EOF
cf_cv_builtin_bool=1
cf_cv_header_stdbool_h=1
EOF
}
post_makeinstall_target() { post_makeinstall_target() {
local f local f
cp misc/ncurses-config ${TOOLCHAIN}/bin cp misc/ncurses-config ${TOOLCHAIN}/bin