summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-03-01 03:09:16 +0000
committerbrooks <brooks@FreeBSD.org>2014-03-01 03:09:16 +0000
commit12b5ca7c289f99babbf87c98f27ae68869598412 (patch)
tree7575c34d89aaa8ea2a9687b4296b70da4b0446fe /lib
parentf7aef0811a0dc06d5a4e067960fdade645b093c1 (diff)
downloadFreeBSD-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 'lib')
-rw-r--r--lib/ncurses/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ncurses/Makefile b/lib/ncurses/Makefile
index 05cd7a2..b363f64 100644
--- a/lib/ncurses/Makefile
+++ b/lib/ncurses/Makefile
@@ -1,6 +1,11 @@
# $FreeBSD$
-SUBDIR= ncurses form menu panel \
- ncursesw formw menuw panelw
+.include <bsd.own.mk>
+
+SUBDIR= ncurses form menu panel
+
+.if ${MK_NCURSESW} != "no"
+SUBDIR+= ncursesw formw menuw panelw
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud