summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-09 05:55:43 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-09 05:55:43 +0000
commit7ac588b8eb1d276029001886214facee144b2fc5 (patch)
tree85fd4df08f5b58376bd65c5000482a68f862eb3b
parent92b001fa211cd2e8ab6cb78d4bcfb6c3c9401a1a (diff)
If it exists, use /usr/ports/infrastructure/man/ by default for apropos(1);
we already used it by default for man(1) before. While here, fix the order of Xenocara and ports. ok millert@ sthen@
-rw-r--r--etc/man.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/man.conf b/etc/man.conf
index e908b600736..5dda4997f97 100644
--- a/etc/man.conf
+++ b/etc/man.conf
@@ -1,12 +1,13 @@
-# $OpenBSD: man.conf,v 1.20 2014/02/24 20:11:53 espie Exp $
+# $OpenBSD: man.conf,v 1.21 2014/12/09 05:55:42 schwarze Exp $
# Sheer, raging paranoia...
_version BSD.2
# The whatis/apropos database.
_whatdb /usr/share/man/whatis.db
-_whatdb /usr/local/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.
_subdir {cat,man}1 {cat,man}8 {cat,man}6 {cat,man}2 {cat,man}3 {cat,man}5 {cat,man}7 {cat,man}4 {cat,man}9 {cat,man}3p {cat,man}3f {cat,man}n