manpath

Ryan Schmidt ryandesign at macports.org
Mon Oct 27 18:01:48 PDT 2008


On Oct 27, 2008, at 19:26, Vincent Lefevre wrote:

> On 2008-10-27 16:43:58 -0500, Ryan Schmidt wrote:
>
>> On Tiger and earlier, MANPATH is empty by default and so having /opt/
>> local/bin in PATH is sufficient. However on Leopard and I assume  
>> later,
>> MANPATH is non-empty by default so you need to add /opt/local/ 
>> share/man
>> to MANPATH.
>
> Even if MANPATH is not empty, you shouldn't do this, as this can lead
> to inconsistencies. If for some reason, your MANPATH is not empty,
> make sure it ends with ":" (so that default paths are added).

Apple sets the MANPATH to "/usr/share/man:/usr/local/share/man:/usr/ 
X11/man" on Leopard for you. So at least Apple doesn't think it  
should end with a colon.

The MacPorts installer does add the MacPorts path to the MANPATH for  
you in your .profile if MANPATH is not empty and does not already  
contain the MacPorts manpath. Are you saying the MacPorts installer  
shouldn't do that?




More information about the macports-users mailing list