aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2014-01-30 21:08:36 +0000
committerBrooks Davis <brooks@FreeBSD.org>2014-01-30 21:08:36 +0000
commit38e233371c34a7ffe3bbb1ffd6c1d3f3d0479681 (patch)
tree274baf7c9ba25224bc6f2c68d144d98c43f7e4e8 /lib/ncurses
parent7ecf8b1c67d17dd602911d0d172e549e21a1934a (diff)
downloadsrc-38e233371c34a7ffe3bbb1ffd6c1d3f3d0479681.tar.gz
src-38e233371c34a7ffe3bbb1ffd6c1d3f3d0479681.zip
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. MFC after: 4 weeks Sponsored by: DARPA, AFRL
Notes
Notes: svn path=/head/; revision=261296
Diffstat (limited to 'lib/ncurses')
-rw-r--r--lib/ncurses/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ncurses/Makefile b/lib/ncurses/Makefile
index 05cd7a29bb28..b363f6462204 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>