git: c975494ad76a - main - build: turn off FMTREE by default to prepare for removal

Kyle Evans kevans at FreeBSD.org
Sat Feb 13 05:16:59 UTC 2021


The branch main has been updated by kevans:

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

commit c975494ad76a35d5bfc480f7275c6a1f4927f38e
Author:     Kyle Evans <kevans at FreeBSD.org>
AuthorDate: 2021-02-10 14:57:25 +0000
Commit:     Kyle Evans <kevans at FreeBSD.org>
CommitDate: 2021-02-13 05:16:06 +0000

    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(-)

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 .


More information about the dev-commits-src-main mailing list