aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-02-23 06:21:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-02-25 13:25:28 +0000
commit0af562d7e1850bbef230d30805c101b26588a3ed (patch)
tree0182346e889f3bd6307cc74220035577902cac0c /Makefile.inc1
parent61f66a1f4403fded9aae14d890ad96914a3c0bc1 (diff)
downloadsrc-0af562d7e1850bbef230d30805c101b26588a3ed.tar.gz
src-0af562d7e1850bbef230d30805c101b26588a3ed.zip
bootstrap: add tic to the bootstrap tools
tic is necessary early in the build to be able to build the terminfo database later on. Tested by: manu, jbeich
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 005d9d25afb3..839d4d9db02b 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2433,6 +2433,9 @@ ${_bt}-usr.sbin/config: ${_bt}-usr.bin/file2c ${_bt_lex_depend}
# since "make" will usually point to GNU make there.
_other_bootstrap_tools+=usr.bin/bmake
+_other_bootstrap_tools+=lib/ncurses/ncurses
+${_bt}-usr.bin/ncurses: ${_bt}-lib/ncurses/ncurses
+
# Avoid dependency on host bz2 headers:
_other_bootstrap_tools+=lib/libbz2
${_bt}-usr.bin/grep: ${_bt}-lib/libbz2
@@ -2479,6 +2482,7 @@ bootstrap-tools: ${_bt}-links .PHONY
lib/libopenbsd \
usr.bin/mandoc \
usr.bin/rpcgen \
+ lib/ncurses/ncurses \
${_yacc} \
${_m4} \
${_lex} \
@@ -2493,6 +2497,7 @@ bootstrap-tools: ${_bt}-links .PHONY
${_nmtree} \
${_vtfontcvt} \
${_localedef} \
+ usr.bin/ncurses \
${LOCAL_BSTOOL_DIRS}
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
@@ -2514,6 +2519,9 @@ ${_bt}-usr.bin/xinstall: ${_bt}-lib/libmd
${_bt}-sbin/md5: ${_bt}-lib/libmd
.endif
+if target(${_bt}-usr.bin/ncurses)
+${_bt}-usr.bin/ncurses: ${_bt}-lib/ncurses/ncurses
+.endif
#
# build-tools: Build special purpose build tools