diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-10-04 10:31:23 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-10-04 10:31:23 +0000 |
commit | 27803b54db209aad2037d5e300c4494b2bfb5193 (patch) | |
tree | b0fb06593bbf317713332975a812072183547c03 | |
parent | 16f1ee11e6574d7f8d8a9dc6ebc9be3036ff9fd0 (diff) | |
download | src-27803b54db209aad2037d5e300c4494b2bfb5193.tar.gz src-27803b54db209aad2037d5e300c4494b2bfb5193.zip |
ncurses: fix path where to find curses.h at bootstrap
after the split, curses.h is now generated by tinfo Makefile, but
still used for a file generated in ncurses lib. Adjust the path to
make sure curses.h is always found
-rw-r--r-- | lib/ncurses/ncurses/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 35b123a22292..d2ba1007b54a 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -173,9 +173,9 @@ SHLIB_LDSCRIPT= libncursesw.ldscript libncurses.ldscript: @${ECHO} "INPUT(${SHLIB_NAME} AS NEEDED(-ltinfow))" >$@ -lib_gen.c: MKlib_gen.sh curses.h ncurses_dll.h +lib_gen.c: MKlib_gen.sh ${.OBJDIR:H}/tinfo/curses.h ncurses_dll.h LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CPP:N${CCACHE_BIN}} ${CFLAGS}" \ - "${AWK}" generated < curses.h >$@ + "${AWK}" generated < ${.OBJDIR:H}/tinfo/curses.h >$@ expanded.c: MKexpanded.sh sh ${NCURSES_DIR}/ncurses/tty/MKexpanded.sh "${CC:N${CCACHE_BIN}} -E" ${CFLAGS} >expanded.c |