svn commit: r315053 - head/usr.bin/man
Baptiste Daroussin
bapt at FreeBSD.org
Sat Mar 11 05:56:51 UTC 2017
Author: bapt
Date: Sat Mar 11 05:56:50 2017
New Revision: 315053
URL: https://svnweb.freebsd.org/changeset/base/315053
Log:
Add share/man if it exists to the MANPATH
localbase is not consistent with base for manpages:
/usr/local/man vs /usr/share/man adding share/man allows to fix that
inconsistency and would permit to remove tons of patches/modifications in the
ports tree
Modified:
head/usr.bin/man/man.sh
Modified: head/usr.bin/man/man.sh
==============================================================================
--- head/usr.bin/man/man.sh Sat Mar 11 05:12:39 2017 (r315052)
+++ head/usr.bin/man/man.sh Sat Mar 11 05:56:50 2017 (r315053)
@@ -771,6 +771,8 @@ search_path() {
case "$path" in
*/bin) p="${path%/bin}/man"
add_to_manpath "$p"
+ p="${path%/bin}/share/man"
+ add_to_manpath "$p"
;;
*) ;;
esac
More information about the svn-src-head
mailing list