Browse Source

Do not use /usr/ports/infrastructure/man/ by default because this

directory is not contained in OpenBSD base, and because even people
having the directory often don't understand that they need to run
makewhatis(8) - and instead complain about the resulting warnings.
This commit reverts revisions 1.17 and 1.21.
Requested by deraadt@ millert@ kettenis@ who argue that people
using /usr/ports/infrastructure/bin/ already need to set PATH,
so editing man.conf (or, though more fragile, setting MANPATH)
should not be a big deal for them.
OPENBSD_5_7
schwarze 9 years ago
parent
commit
f7a4f98d48
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/etc/man.conf

+ 2
- 3
src/etc/man.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: man.conf,v 1.21 2014/12/09 05:55:42 schwarze Exp $
# $OpenBSD: man.conf,v 1.22 2015/01/20 19:17:28 schwarze Exp $
# Sheer, raging paranoia...
_version BSD.2
@ -6,7 +6,6 @@ _version BSD.2
# The whatis/apropos database.
_whatdb /usr/share/man/whatis.db
_whatdb /usr/X11R6/man/whatis.db
_whatdb /usr/ports/infrastructure/man/whatis.db
_whatdb /usr/local/man/whatis.db
# Subdirectories for paths ending in '/', IN SEARCH ORDER.
@ -32,7 +31,7 @@ _build .tbl.gz /usr/bin/gzcat %s | /usr/bin/mandoc
# directory with all of the subdirectories listed for the keyword _subdir.
# default
_default /usr/{share,X11R6,local,ports/infrastructure}/man/
_default /usr/{share,X11R6,local}/man/
# Other sections that represent complete man subdirectories.
X11 /usr/X11R6/man/


Loading…
Cancel
Save