From 03266a2f085a816e141dc8288f2ee3f9bb58cd6d Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 7 Aug 2020 16:04:10 +0000 Subject: [PATCH] Don't link against libdialog/ncurses when bootstrapping tzsetup --- usr.sbin/tzsetup/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/tzsetup/Makefile b/usr.sbin/tzsetup/Makefile index 1c8c2e5462ce..e3d7526838a1 100644 --- a/usr.sbin/tzsetup/Makefile +++ b/usr.sbin/tzsetup/Makefile @@ -7,7 +7,7 @@ MAN= tzsetup.8 CFLAGS+= -I. -.if ${MK_DIALOG} != no +.if ${MK_DIALOG} != no && !defined(BOOTSTRAPPING) WARNS?= 3 CFLAGS+= -I${SRCTOP}/contrib/dialog -DHAVE_DIALOG LIBADD= dialog ncursesw