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)
Sun, Oct 12, 5:52 PM
Unknown Object (File)
Sat, Oct 11, 5:35 AM
Unknown Object (File)
Sat, Oct 11, 5:35 AM
Unknown Object (File)
Sat, Oct 11, 5:35 AM
Unknown Object (File)
Sat, Oct 11, 5:35 AM
Unknown Object (File)
Sat, Oct 11, 1:19 AM
Unknown Object (File)
Fri, Oct 10, 10:24 PM
Unknown Object (File)
Fri, Oct 10, 1:14 PM

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.