screen: netbsd-curses fix

TERMINFO test is not run while cross-compiling. If TERMINFO is not set
(in config.h), only colors 0-7 are displayed with netbsd-curses.
This commit is contained in:
glenvt18 2017-06-08 05:07:03 +03:00
parent aa967f4fc6
commit d4c7b7e4b4

View File

@ -35,6 +35,7 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
--disable-socket-dir"
pre_configure_target() {
CFLAGS="$CFLAGS -DTERMINFO"
export LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
# screen fails to build in subdirs