git: d2eb5dbd7d6d - main - ncurses: fix generation of term.h

Baptiste Daroussin bapt at FreeBSD.org
Thu Feb 25 21:49:42 UTC 2021


The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=d2eb5dbd7d6d31e6ab85737e86c9a8bfc7f266c8

commit d2eb5dbd7d6d31e6ab85737e86c9a8bfc7f266c8
Author:     Baptiste Daroussin <bapt at FreeBSD.org>
AuthorDate: 2021-02-25 21:46:24 +0000
Commit:     Baptiste Daroussin <bapt at FreeBSD.org>
CommitDate: 2021-02-25 21:49:20 +0000

    ncurses: fix generation of term.h
    
    All variable were not properly expanded
    
    Submitted by:   cy (initial version)
---
 lib/ncurses/ncurses/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 >$@ \


More information about the dev-commits-src-all mailing list