cvs commit: src/gnu/usr.bin/man/man man.c
edwin at FreeBSD.org
Thu Sep 27 19:31:31 PDT 2007
edwin 2007-09-28 02:31:30 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
MFC: Fix man(1) to allow .so to reference a compressed file
Original PR description:
man(1) can't handle compressed included files.
Some ports will install with compressed manpages. man handles
this by looking for the .gz version of a man source file.
It is also common to include other files with the .so
directive where commands or functions share a man page.
Traditionally ports have had to handle this by either not
compressing the manpages, or using the _MLINKS macro in the
port makefile to create symlinks to the actual source file,
rather than using .so versions. Notably, the current version
of Xorg port breaks. See ports/113096 and ports/115845.
Submitted by: Callum Gibson <callumgibson at optusnet.com.au>
Revision Changes Path
126.96.36.199 +15 -0 src/gnu/usr.bin/man/man/man.c
More information about the cvs-all