Fake terminfo should not depend on TOOL_TIC for native build.

Makes it possible to build this standalone with USETOOLS=never.
This commit is contained in:
uwe 2020-02-07 22:05:16 +00:00
parent a0c9b60242
commit b1de09dcc9

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2012/06/03 23:19:11 joerg Exp $
# $NetBSD: Makefile,v 1.4 2020/02/07 22:05:16 uwe Exp $
NOMAN= # defined
@ -23,7 +23,11 @@ CLEANFILES+= ${TERMINFO_DB}.cdb
realall: ${TERMINFO_DB}.cdb
${TERMINFO_DB}.cdb: ${TOOL_TIC} ${TEST_TERMINFO}
.if ${USETOOLS} == "yes"
DPTOOL_TIC = ${TOOL_TIC}
.endif
${TERMINFO_DB}.cdb: ${DPTOOL_TIC} ${TEST_TERMINFO}
${TOOL_TIC} -o ${.TARGET} ${.CURDIR}/${TEST_TERMINFO}
.include <bsd.test.mk>