port PATH handling

Kevin Ballard eridius at macports.org
Mon Jan 29 14:54:54 PST 2007


Ah. Well, since port allows you to override specific variables using  
a variable=value syntax at the end of the command line, you could try  
setting bindir yourself there.

On Jan 29, 2007, at 5:52 PM, Daniel J. Luke wrote:

> On Jan 29, 2007, at 5:41 PM, Kevin Ballard wrote:
>>> Does port(1) clean out $PATH ??
>
> yes.
>
>> If you look at /opt/local/etc/ports/ports.conf, at the bottom is a  
>> list of environment variables to keep. You may want to try setting  
>> that to PATH.
>
> That won't work.
>
> macports' PATH is set to "${prefix}/bin:${prefix}/sbin:/bin:/sbin:/ 
> usr/bin:/usr/sbin:/usr/X11R6/bin" unless 'binpath' is set in the  
> ports.conf file.
>
> (see darwinports1.0/darwinports.tcl line 415 and darwinports1.0/ 
> portconf.c line 49)

-- 
Kevin Ballard
http://kevin.sb.org
eridius at macports.org
http://www.tildesoft.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070129/44feedcf/attachment.html


More information about the macports-users mailing list