Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses Fake terminfo should not depend on TOOL_...



details:   https://anonhg.NetBSD.org/src/rev/afa422e09283
branches:  trunk
changeset: 744606:afa422e09283
user:      uwe <uwe%NetBSD.org@localhost>
date:      Fri Feb 07 22:05:16 2020 +0000

description:
Fake terminfo should not depend on TOOL_TIC for native build.
Makes it possible to build this standalone with USETOOLS=never.

diffstat:

 tests/lib/libcurses/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 8d4eeb1038cf -r afa422e09283 tests/lib/libcurses/Makefile
--- a/tests/lib/libcurses/Makefile      Fri Feb 07 22:04:02 2020 +0000
+++ b/tests/lib/libcurses/Makefile      Fri Feb 07 22:05:16 2020 +0000
@@ -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 @@
 
 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>



Home | Main Index | Thread Index | Old Index