Date: Fri, 28 Sep 2007 02:31:30 +0000 (UTC) From: Edwin Groothuis <edwin@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/man/man man.c Message-ID: <200709280231.l8S2VV1Q015524@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
edwin 2007-09-28 02:31:30 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
gnu/usr.bin/man/man man.c
Log:
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.
PR: bin/115850
Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
Revision Changes Path
1.62.4.1 +15 -0 src/gnu/usr.bin/man/man/man.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709280231.l8S2VV1Q015524>
