diff options
author | ngie <ngie@FreeBSD.org> | 2017-05-30 07:28:27 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-05-30 07:28:27 +0000 |
commit | d8f677d335aa48afa79c8e5827da4c308be9e648 (patch) | |
tree | 224338088e9997844713927b1ad35176256d4117 /share | |
parent | 2c4f7501e0865416b5e978f93a215a1707816f60 (diff) | |
download | FreeBSD-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 'share')
-rw-r--r-- | share/mk/src.opts.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 4b8082d..d197044 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -76,6 +76,7 @@ __DEFAULT_YES_OPTIONS = \ CTM \ CUSE \ CXX \ + DIALOG \ DICT \ DMAGENT \ DYNAMICROOT \ @@ -332,6 +333,10 @@ MK_GROFF:= no MK_GNUCXX:= no .endif +.if ${MK_DIALOG} == "no" +MK_BSDINSTALL:= no +.endif + .if ${MK_MAIL} == "no" MK_MAILWRAPPER:= no MK_SENDMAIL:= no |