summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-05-30 07:28:27 +0000
committerngie <ngie@FreeBSD.org>2017-05-30 07:28:27 +0000
commitd8f677d335aa48afa79c8e5827da4c308be9e648 (patch)
tree224338088e9997844713927b1ad35176256d4117 /gnu
parent2c4f7501e0865416b5e978f93a215a1707816f60 (diff)
downloadFreeBSD-src-d8f677d335aa48afa79c8e5827da4c308be9e648.zip
FreeBSD-src-d8f677d335aa48afa79c8e5827da4c308be9e648.tar.gz
MFC r306375,r307802:
r306375 (by emaste): Add a WITHOUT_DIALOG src.conf(5) knob It also turns off dependencies (bsdinstall, bsdconfig, dpv, tzsetup). r307802 (by bapt): Fix build of tzsetup when WITHOUT_DIALOG is set Hide dialog specific code behind HAVE_DIALOG. It allows to build a stripped down version (missing the dialog UI) but perfectly function tzsetup when world is built WITHOUT_DIALOG Reorganise a bit the code to limit the number of blocks under HAVE_DIALOG
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 63cbd0b..6ba9ef2 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -4,7 +4,6 @@
SUBDIR= ${_binutils} \
${_cc} \
- dialog \
diff \
diff3 \
${_dtc} \
@@ -49,6 +48,8 @@ _gdb= gdb
_cc= cc
.endif
+SUBDIR.${MK_DIALOG}+= dialog
+
SUBDIR_PARALLEL=
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud