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
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to