Date: Sat, 8 Jun 2002 15:30:03 -0700 (PDT) From: Giorgos Keramidas <keramida@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/18255: whatis(1) doesn't know about /usr/local Message-ID: <200206082230.g58MU3672961@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/18255; it has been noted by GNATS. From: Giorgos Keramidas <keramida@FreeBSD.org> To: lowell@world.std.com Cc: bug-followup@FreeBSD.org Subject: Re: misc/18255: whatis(1) doesn't know about /usr/local Date: Sun, 9 Jun 2002 01:20:30 +0300 On 2000-04-27 09:31 -0400, lowell@world.std.com wrote: > The period script that runs makewhatis doesn't have /usr/local in > its path, so manpath(1) doesn't include /usr/local/man, so ports and > packages don't get included in the database. The most obvious fix > is to put /usr/local into the /etc/crontab PATH setting, but that's > a bad idea (because root crontab runs *shouldn't* be running > anything from /usr/local in a default system anyway). Hammering it > into the periodic script that calls makewhatis seems like a better > way. I think care should be taken to make sure that the correct value of LOCALBASE is used. The default value is /usr/local as shown in /usr/ports/Mk/bsd.port.mk: 01:18 [charon@hades /usr/ports/Mk]$ grep -n '^LOCALBASE' bsd.port.mk 685:LOCALBASE?= ${DESTDIR}/usr/local Since this can be customized in /etc/make.conf, the following part of the patch might not always be correct: + PATH=${PATH}:/usr/local/bin - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206082230.g58MU3672961>