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, Sep 20, 7:51 AM
Unknown Object (File)
Fri, Sep 11, 6:13 PM
Unknown Object (File)
Wed, Sep 9, 9:07 PM
Unknown Object (File)
Wed, Sep 9, 6:54 PM
Unknown Object (File)
Wed, Sep 9, 4:09 PM
Unknown Object (File)
Tue, Sep 8, 6:10 PM
Unknown Object (File)
Sat, Sep 5, 7:26 PM
Unknown Object (File)
Thu, Sep 3, 8:37 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.