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

Kevin Van Vechten kvv at apple.com
Thu Nov 29 17:34:19 PST 2007


On Nov 29, 2007, at 4:45 PM, James Berry wrote:

> Hey Kevin,
>
> On Nov 29, 2007, at 1:49 PM, Kevin Van Vechten wrote:
>
>> I as understand it, appending /opt/local/bin to the path works fine  
>> at _runtime_ but may be insufficient at _build time_.
>
> So you're saying that if we append prefix to the path we might have  
> build issues that we wouldn't have if we prepend. That's a good  
> argument.

No, I'm saying that for interactive use it usually doesn't matter  
that /opt/local is appended.  But when building new Ports, we probably  
do want /opt/local first in the path -- however MacPorts should  
probably prepend $prefix to PATH during builds regardless of whether  
path_helper is used or not.

- Kevin


More information about the macports-dev mailing list