mandoc is a suite of tools for, the semantic roff macro language preferred for BSD manual pages, and , the historical presentation-based roff macro language for UNIX manuals.
USE flags for app-text/mandoc Suite of tools compiling mdoc and man
|build man.cgi web plugin for viewing man pages
|!!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
|set as the default man provider
|Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
Before enabling the system-man USE flag, please refer to #The system-man USE flag section.
emerge --ask app-text/mandoc
The system-man USE flag
The system-man USE flag makes mandoc the default software for accessing man pages.
During installation, man pages are compressed using the value of the PORTAGE_COMPRESS variable, which by default is "bzip2". However, mandoc does not handle bzip2'd man pages, so after changing this flag, those man pages will no longer be readable.
To ensure mandoc can display man pages, set the value of the PORTAGE_COMPRESS_EXCLUDE_SUFFIXES variable in /etc/portage/make.conf and reinstall packages containing man pages:
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="[1-9] n p ssl"
Packages that will need to be reinstalled include:
man page — contains system reference documentation. It is found on most Unix-like systems.
- The man page