From c975494ad76a35d5bfc480f7275c6a1f4927f38e Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 10 Feb 2021 08:57:25 -0600 Subject: [PATCH] build: turn off FMTREE by default to prepare for removal nmtree is derived from fmtree, and has been the default mtree(8) since 6adfbbbf161, a little over a year after its introduction. fmtree has not seen any substantial work since then, except for build fixes and runtime issues that were diagnosed in nmtree and backported because this was still in the tree. Turn it off by default. Reviewed by: bdrewery, brooks, cy, emaste Differential Revision: https://reviews.freebsd.org/D28573 --- share/mk/src.opts.mk | 2 +- tools/build/options/WITH_FMTREE | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tools/build/options/WITH_FMTREE diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 6cfab4b50613..9e7a0c88f8af 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -99,7 +99,6 @@ __DEFAULT_YES_OPTIONS = \ FILE \ FINGER \ FLOPPY \ - FMTREE \ FORTH \ FP_LIBC \ FREEBSD_UPDATE \ @@ -202,6 +201,7 @@ __DEFAULT_NO_OPTIONS = \ CLANG_FORMAT \ DTRACE_TESTS \ EXPERIMENTAL \ + FMTREE \ HESIOD \ LIBSOFT \ LOADER_FIREWIRE \ diff --git a/tools/build/options/WITH_FMTREE b/tools/build/options/WITH_FMTREE new file mode 100644 index 000000000000..e384ff426774 --- /dev/null +++ b/tools/build/options/WITH_FMTREE @@ -0,0 +1,5 @@ +.\" $FreeBSD$ +Set to build and install +.Pa /usr/sbin/fmtree . +This option is deprecated, and will be gone in +.Fx 14.0 .