Don't link against libdialog/ncurses when bootstrapping tzsetup

This commit is contained in:
Alex Richardson 2020-08-07 16:04:10 +00:00
parent b4e38a41f5
commit 03266a2f08

View File

@ -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