From root@helo.liwing.de  Sun May 26 02:04:08 2002
Return-Path: <root@helo.liwing.de>
Received: from helo.liwing.de (helo.liwing.de [213.70.188.163])
	by hub.freebsd.org (Postfix) with ESMTP id E096437B406
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 May 2002 02:04:06 -0700 (PDT)
Received: (from root@localhost)
	by helo.liwing.de (8.11.6/8.11.6) id g4QB51g77839;
	Sun, 26 May 2002 11:05:01 GMT
	(envelope-from root)
Message-Id: <200205261105.g4QB51g77839@helo.liwing.de>
Date: Sun, 26 May 2002 11:05:01 GMT
From: Jens Rehsack <rehsack@liwing.de>
Reply-To: Jens Rehsack <rehsack@liwing.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: man could not find manpages for library functions in installed ports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         38567
>Category:       conf
>Synopsis:       man could not find manpages for library functions in installed ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 02:10:02 PDT 2002
>Closed-Date:    Mon May 27 08:39:28 PDT 2002
>Last-Modified:  Mon May 27 08:39:28 PDT 2002
>Originator:     Jens Rehsack
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
LiWing IT-Services
>Environment:
System: FreeBSD helo.liwing.de 4.5-STABLE FreeBSD 4.5-STABLE #4: Sun Apr 28 23:52:47 GMT 2002 root@helo.liwing.de:/usr/obj/usr/src/sys/HELO i386


	AMD K6-2 333MHz FreeBSD 4.5-STABLE
>Description:
	when trying to get some information 'bout - let's say gettext - 'man dcgettext'
	fails. To repair this I always set MANPATH environment variable until I see
	/etc/manpath.conf. After a short look I saw that only binaries are mapped, so
	neither ports library functions nor X (or X-related) library function calls
	could be looked up via man.
	This two appended lines fix this :-)
>How-To-Repeat:
	man dcgettext
	man -k gettext
>Fix:

	apply this patch

--- manpath.patch begins here ---
--- manpath.config.orig	Sun May 26 10:52:14 2002
+++ manpath.config	Sun May 26 10:54:19 2002
@@ -17,6 +17,8 @@
 # check if the directory exists and if it does, add it to MANPATH
 #
 OPTIONAL_MANPATH	/usr/local/lib/perl5/5.6.1/man
+OPTIONAL_MANPATH	/usr/local/man
+OPTIONAL_MANPATH	/usr/X11R6/man
 #
 # set up PATH to MANPATH mapping
 #
--- manpath.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon May 27 08:37:46 PDT 2002 
State-Changed-Why:  
Originator confirms that MANPATH_MAP mappings worked for him. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38567 
>Unformatted:
