port PATH handling
Daniel J. Luke
dluke at geeklair.net
Mon Jan 29 14:52:21 PST 2007
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)
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070129/dce79275/PGP.bin
More information about the macports-users
mailing list