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)
Wed, Jun 17, 7:45 AM
Unknown Object (File)
Wed, Jun 17, 7:43 AM
Unknown Object (File)
Sun, Jun 7, 4:43 PM
Unknown Object (File)
Tue, Jun 2, 12:56 AM
Unknown Object (File)
Sun, May 24, 4:12 AM
Unknown Object (File)
May 22 2026, 2:42 AM
Unknown Object (File)
May 21 2026, 4:35 PM
Unknown Object (File)
May 21 2026, 5:36 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.