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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364025

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