diff options
author | brooks <brooks@FreeBSD.org> | 2014-03-01 03:09:16 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-03-01 03:09:16 +0000 |
commit | 12b5ca7c289f99babbf87c98f27ae68869598412 (patch) | |
tree | 7575c34d89aaa8ea2a9687b4296b70da4b0446fe /usr.bin/vi/Makefile | |
parent | f7aef0811a0dc06d5a4e067960fdade645b093c1 (diff) | |
download | FreeBSD-src-12b5ca7c289f99babbf87c98f27ae68869598412.zip FreeBSD-src-12b5ca7c289f99babbf87c98f27ae68869598412.tar.gz |
MFC r261296:
Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Fri Jan 17 21:46:44 2014 +0000
Add an option WITHOUT_NCURSESW to suppress building and linking to
libncursesw. While wide character support it useful we'd like to
only need one ncurses library on embedded systems.
Sponsored by: DARPA, AFRL
Diffstat (limited to 'usr.bin/vi/Makefile')
-rw-r--r-- | usr.bin/vi/Makefile | 2 |
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 |