aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses/ncurses/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-02-25 21:46:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-02-25 21:49:20 +0000
commitd2eb5dbd7d6d31e6ab85737e86c9a8bfc7f266c8 (patch)
tree9b7880550e92201aeede426b7d56345112a10953 /lib/ncurses/ncurses/Makefile
parente6b813522702811681247b9dd5fc1839c3e242f3 (diff)
downloadsrc-d2eb5dbd7d6d31e6ab85737e86c9a8bfc7f266c8.tar.gz
src-d2eb5dbd7d6d31e6ab85737e86c9a8bfc7f266c8.zip
ncurses: fix generation of term.h
All variable were not properly expanded Submitted by: cy (initial version)
Diffstat (limited to 'lib/ncurses/ncurses/Makefile')
-rw-r--r--lib/ncurses/ncurses/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 68ed3b39f458..5a1fab7003a6 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -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 >$@ \