summaryrefslogtreecommitdiffstats
path: root/usr.bin/vi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi/Makefile')
-rw-r--r--usr.bin/vi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vi/Makefile b/usr.bin/vi/Makefile
index 033c472..445d79f 100644
--- a/usr.bin/vi/Makefile
+++ b/usr.bin/vi/Makefile
@@ -36,7 +36,7 @@ CFLAGS+=-I${.CURDIR} -I${SRCDIR} -I${SRCDIR}/regex
DPADD= ${LIBUTIL}
LDADD= -lutil
-.if defined(RESCUE) || defined(RELEASE_CRUNCH)
+.if defined(RESCUE) || defined(RELEASE_CRUNCH) || ${MK_NCURSESW} == "no"
DPADD+= ${LIBNCURSES}
LDADD+= -lncurses
.else
OpenPOWER on IntegriCloud