perl5.8 fixup

Bryan Blackburn blb at macports.org
Fri Mar 13 14:23:02 PDT 2009


On Fri, Mar 13, 2009 at 02:10:22PM -0700, Bradley Giesbrecht said:
> On Mar 13, 2009, at 10:32 AM, Eric Hall wrote:
[...]
>> 	Do you have MANPATH set?  If so, man will not auto-add
>> directories based on your PATH (at least that's what I understand
>> it to do).
>
> I had been using MANPATH but to test I removed it from .profile, logged 
> out of my shell, opened a new shell and ran "manpath" and /opt/ 
> local/share/man was not in my man path. Tried "sudo manpath" and /opt/ 
> local/share/man was in my man path.

Don't just remove the setting of MANPATH but actually unset it; put as the
last line in .profile

unset MANPATH

then try.  This makes man more dynamic by using your PATH to figure out
where to find relevant man pages.

Bryan


>
> A quick look shows /opt/local has root:admin and 755 for directories.  
> Would this prevent man from operating on /opt/local/share/man?
>
> Maybe because it stores formated results in catx or something? I really 
> don't know much about man.
>
>
> //Brad


More information about the macports-dev mailing list