Added support in MacPorts base to set PATH and MANPATH
automatically in Leopard
James Berry
jberry at macports.org
Thu Nov 29 16:43:06 PST 2007
Hi Kirk,
On Nov 29, 2007, at 1:27 PM, Kirk Kelsey wrote:
>
> On Nov 29, 2007, at 2:43 PM, James Berry wrote:
>> I think it's a question for the group in general: which is the best
>> approach? The range of choices we have is basically to pick from
>> the following menu:
>>
>> - Install a file into /etc/manpaths.d/
>> - Install a file into /etc/paths.d/
>> - Munge ~/.profile to munge MANPATH
>> - Munge ~/.profile to munge PATH
>
>
> was
> - Munge /etc/[man]paths
>
> ruled out? It has the advantage of letting us put /opt/local/
> {bin,man} in the [MAN]PATH where we want it and being much easier to
> work with than shell rc/profile files.
The /etc/[man]paths.d/macports approach is equivalent, and cleaner
than hitting the /etc/[man]paths files. read path_helper(8).
James
More information about the macports-dev
mailing list