Module Name: src
Committed By: uwe
Date: Fri Feb 7 22:05:16 UTC 2020
Modified Files:
src/tests/lib/libcurses: Makefile
Log Message:
Fake terminfo should not depend on TOOL_TIC for native build.
Makes it possible to build this standalone with USETOOLS=never.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libcurses/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libcurses/Makefile
diff -u src/tests/lib/libcurses/Makefile:1.3 src/tests/lib/libcurses/Makefile:1.4
--- src/tests/lib/libcurses/Makefile:1.3 Sun Jun 3 23:19:11 2012
+++ src/tests/lib/libcurses/Makefile Fri Feb 7 22:05:16 2020
@@ -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>