git: 38981026e703 - main - dialog(1): switch off dialog(1) by default

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 10 Oct 2023 07:25:12 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=38981026e70390ccfb99930ec6d71299dd2af780

commit 38981026e70390ccfb99930ec6d71299dd2af780
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-10-10 07:19:48 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-10-10 07:19:48 +0000

    dialog(1): switch off dialog(1) by default
    
    Every direct consumers in base have switch to use bsddialog(1) by
    default
---
 share/mk/src.opts.mk            | 2 +-
 tools/build/options/WITH_DIALOG | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 16b2433244da..ecb944262955 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -86,7 +86,6 @@ __DEFAULT_YES_OPTIONS = \
     CRYPT \
     CUSE \
     CXGBETOOL \
-    DIALOG \
     DICT \
     DMAGENT \
     DTRACE \
@@ -197,6 +196,7 @@ __DEFAULT_NO_OPTIONS = \
     BHYVE_SNAPSHOT \
     CLANG_EXTRAS \
     CLANG_FORMAT \
+    DIALOG \
     DETECT_TZ_CHANGES \
     DISK_IMAGE_TOOLS_BOOTSTRAP \
     DTRACE_ASAN \
diff --git a/tools/build/options/WITH_DIALOG b/tools/build/options/WITH_DIALOG
new file mode 100644
index 000000000000..8b473b22e21e
--- /dev/null
+++ b/tools/build/options/WITH_DIALOG
@@ -0,0 +1,6 @@
+Do build
+.Xr dialog 1 ,
+.Xr dialog 3 ,
+.Xr dpv 1 ,
+and
+.Xr dpv 3 .