From owner-freebsd-bugs Sun May 26 2:10:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 46D7B37B40B for ; Sun, 26 May 2002 02:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4Q9A2s82089; Sun, 26 May 2002 02:10:02 -0700 (PDT) (envelope-from gnats) Received: from helo.liwing.de (helo.liwing.de [213.70.188.163]) by hub.freebsd.org (Postfix) with ESMTP id E096437B406 for ; 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 Reply-To: Jens Rehsack To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/38567: man could not find manpages for library functions in installed ports Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 26 02:10:02 PDT 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message