summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-14 15:27:51 +0000
committerru <ru@FreeBSD.org>2001-09-14 15:27:51 +0000
commit622683f61541ff205c842307dbd37810f2391956 (patch)
tree79f8fa9564f964ec22b3dff1edbccb60cbc537a2 /lib
parente177b37bfd6870effd6c9d3189a3c0e39ff60c2a (diff)
downloadFreeBSD-src-622683f61541ff205c842307dbd37810f2391956.zip
FreeBSD-src-622683f61541ff205c842307dbd37810f2391956.tar.gz
Unbreak build-tools -- build and use up-to-date ${HEADERS}.
These might not be present in /usr/include, or they may be incompatible with the version we are building (for library upgrades/downgrades). This stopped the RELENG_4 buildworld on a -CURRENT box. Well, this only fixes the issue if MFC'ed. :-)
Diffstat (limited to 'lib')
-rw-r--r--lib/libncurses/Makefile4
-rw-r--r--lib/ncurses/ncurses/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 38fb526..f73af6c 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -329,10 +329,10 @@ term.h: MKterm.h.awk edit_cfg.sh Caps
# Build tools
build-tools: make_hash make_keys
-make_keys: make_keys.c names.c curses.h ncurses_def.h
+make_keys: make_keys.c names.c ncurses_def.h ${HEADERS}
${CC} -o $@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c
-make_hash: comp_hash.c hashsize.h curses.h ncurses_def.h
+make_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \
${NCURSES}/ncurses/tinfo/comp_hash.c
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 38fb526..f73af6c 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -329,10 +329,10 @@ term.h: MKterm.h.awk edit_cfg.sh Caps
# Build tools
build-tools: make_hash make_keys
-make_keys: make_keys.c names.c curses.h ncurses_def.h
+make_keys: make_keys.c names.c ncurses_def.h ${HEADERS}
${CC} -o $@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c
-make_hash: comp_hash.c hashsize.h curses.h ncurses_def.h
+make_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \
${NCURSES}/ncurses/tinfo/comp_hash.c
OpenPOWER on IntegriCloud