Page MenuHomeFreeBSD

Support installing manpages for multiple or alternate architecture(s).
ClosedPublic

Authored by • ian on Jul 9 2018, 3:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 6, 8:44 PM
Unknown Object (File)
Tue, Oct 6, 8:44 PM
Unknown Object (File)
Wed, Sep 16, 2:37 PM
Unknown Object (File)
Sep 12 2026, 3:51 PM
Unknown Object (File)
Sep 1 2026, 10:11 PM
Unknown Object (File)
Sep 1 2026, 4:11 PM
Unknown Object (File)
Aug 31 2026, 7:11 AM
Unknown Object (File)
Aug 31 2026, 1:05 AM
Subscribers

Details

Summary

Some section-4 manpages are architecture-specific, and the build process currently generates only the pages for the MACHINE_CPUARCH being built.

man(1) supports a '-m' option to find manpages belonging to an arbitrary architecture other than the MACHINE_[CPU]ARCH, but we have no way to generate and install alternate-arch pages right now.

This changes adds a new make.conf variable, MAN_ARCH, which can be a list of one or more MACHINE_ARCH or MACHINE_CPUARCH values. All arch-specific manpages that exist for the named arches will be installed. If unset, it continues the current behavior of installing just the MACHINE_CPUARCH being built.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

• ian retitled this revision from Support installing manpage for multiple or alternate architecture(s). to Support installing manpages for multiple or alternate architecture(s)..

By popular demand (on irc), support a special MAN_ARCH value of "all" to install all available arches. Also, update the wording of the make.conf entry to use MACHINE and MACHINE_ARCH, to match the terms used in man(1).

This revision is now accepted and ready to land.Jul 20 2018, 9:26 AM
This revision was automatically updated to reflect the committed changes.