git: a8a18eeb5e17 - main - packages: Turn off MANSPLITPKG by default

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Wed, 10 Sep 2025 19:04:08 UTC
The branch main has been updated by ivy:

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

commit a8a18eeb5e1711ad27c3ee20eb342b73d3badffa
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-09-10 18:38:01 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-09-10 18:38:01 +0000

    packages: Turn off MANSPLITPKG by default
    
    Manpages are very small, and having a separate manpages package for
    every base package is quite annoying for users.  Turn this option
    off by default.
    
    Discussed with: bapt
    Reviewed by:    manu, emaste
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D52417
---
 UPDATING                  | 6 ++++++
 share/man/man5/src.conf.5 | 4 ++--
 share/mk/bsd.opts.mk      | 2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/UPDATING b/UPDATING
index 57f6b2e66387..51589f13e139 100644
--- a/UPDATING
+++ b/UPDATING
@@ -27,6 +27,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 16.x IS SLOW:
 	world, or to merely disable the most expensive debugging functionality
 	at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20250907:
+	The MANSPLITPKG knob has been turned off by default, so pkgbase builds
+	will no longer generate "-man" subpackages; instead the manpages will
+	be shipped in the packages they belong to.  If you want to continue
+	building split man packages, set WITH_MANSPLITPKG=1.
+
 20250905:
 	FreeBSD 16.0-CURRENT.
 
diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index a1abbcbda01e..ded16c9cf436 100644
--- a/share/man/man5/src.conf.5
+++ b/share/man/man5/src.conf.5
@@ -1215,8 +1215,8 @@ is set explicitly)
 .It Va WITHOUT_MANCOMPRESS
 Do not install compressed man pages.
 Only the uncompressed versions will be installed.
-.It Va WITHOUT_MANSPLITPKG
-Do not split man pages into their own packages during make package.
+.It Va WITH_MANSPLITPKG
+Split man pages into their own packages during make package.
 .It Va WITHOUT_MAN_UTILS
 Do not build utilities for manual pages,
 .Xr apropos 1 ,
diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk
index 439924d0d596..66eb427c3505 100644
--- a/share/mk/bsd.opts.mk
+++ b/share/mk/bsd.opts.mk
@@ -60,7 +60,6 @@ __DEFAULT_YES_OPTIONS = \
     MAKE_CHECK_USE_SANDBOX \
     MAN \
     MANCOMPRESS \
-    MANSPLITPKG \
     NIS \
     NLS \
     OPENSSH \
@@ -78,6 +77,7 @@ __DEFAULT_NO_OPTIONS = \
     CCACHE_BUILD \
     CTF \
     INSTALL_AS_USER \
+    MANSPLITPKG \
     REPRODUCIBLE_BUILD \
     RETPOLINE \
     RUN_TESTS \