Page MenuHomeFreeBSD

man[49]: Set PACKAGE=kernel-man
ClosedPublic

Authored by ivy on Sep 14 2025, 8:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 4, 2:32 AM
Unknown Object (File)
Thu, Dec 4, 2:32 AM
Unknown Object (File)
Wed, Dec 3, 11:56 PM
Unknown Object (File)
Mon, Nov 24, 11:25 PM
Unknown Object (File)
Sun, Nov 23, 6:18 PM
Unknown Object (File)
Nov 2 2025, 11:14 PM
Unknown Object (File)
Oct 12 2025, 5:52 PM
Unknown Object (File)
Oct 11 2025, 5:35 AM

Details

Summary
When MANSPLITPKG is disabled (which is now the default), the kernel
manpages in sections 4 and 9 are installed in the -kernel package
instead of the -kernel-man package, because bsd.man.mk doesn't add
the -man suffix.

Since we already have handling for kernel-man in generate-ucl.lua,
set PACKAGE=kernel-man to make sure they're always in the right
package.

To avoid creating -kernel-man-man when WITH_MANSPLITPKG is enabled,
add some logic to bsd.man.mk (suggested by kevans) to avoid adding
the -man suffix if the package already has a -man suffix, and while
here, ensure ${__group}PACKAGE is always defined.

MFC after:      3 seconds

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Sep 14 2025, 8:59 PM

with the WITH_MANSPLITPKG case

This revision is now accepted and ready to land.Sep 15 2025, 5:54 PM
This revision was automatically updated to reflect the committed changes.