ncurses: fix generation of term.h

All variable were not properly expanded

Submitted by:	cy (initial version)
This commit is contained in:
Baptiste Daroussin 2021-02-25 22:46:24 +01:00
parent e6b8135227
commit d2eb5dbd7d

View file

@ -425,7 +425,9 @@ MKterm.h.awk: MKterm.h.awk.in
-e "/@HAVE_TERMIOS_H@/s%%${HAVE_TERMIOS_H}%" \
-e "/@HAVE_TERMIO_H@/s%%${HAVE_TERMIO_H}%" \
-e "/@HAVE_TCGETATTR@/s%%${HAVE_TCGETATTR}%" \
-e "s%@cf_cv_enable_reentrant@%${ENABLE_REENTRANT}%g"
-e "s%@cf_cv_enable_reentrant@%${ENABLE_REENTRANT}%g" \
-e "s%@NCURSES_SP_FUNCS@%1%" \
-e "s%@NCURSES_PATCH@%${NCURSES_PATCH}%"
termcap.h: termcap.h.in
sed <${NCURSES_DIR}/include/termcap.h.in >$@ \