Added support in MacPorts base to set PATH and MANPATH automatically in Leopard

James Berry jberry at macports.org
Sun Nov 25 13:24:51 PST 2007


On Nov 25, 2007, at 1:14 PM, James Berry wrote:

> I just checked in some code (r31491:31492) that supplies and  
> installs spec files for the /etc/paths.d  and /etc/manpaths.d  
> directories if they are present, as they are on Leopard.
>
> The contents of these files are automatically added to the users  
> PATHS and MANPATHS environment variables, and should mean that we  
> don't need to configure the user's profile under Leopard. Note that  
> support for this is though path_helper(8).

Note that paths added through this mechanism are added at the _end_of_  
the PATH and MANPATH variables, and so won't automatically override  
any system-supplied commands.

>
>
> Hopefully this will make future configuration less painful. Comments  
> welcome.
>
> James
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev



More information about the macports-dev mailing list