gd2 MacPorts packaging bug

Brandon Allbery allbery.b at gmail.com
Thu Jul 28 18:14:18 PDT 2011


On Thu, Jul 28, 2011 at 20:17, mark brethen <mbrethen at aim.com> wrote:

> wxMaxima,  the environment variable doesn't get passed along. But gnuplot
> reads it's init file when ever a job is submitted to it..
>

No *login* shell is involved anywhere along the way (setting environment
variables in e.g. .bashrc is not an especially good idea, because it's
harder to override them when some other program needs them to be
different).  Most Linux desktop environments behave much the same way, and
they generally provide some way to set the environment of the desktop system
itself for cases like this.

For OS X you want to look at ~/.MacOSX/environment.plist.  There are several
preference pane add-ons for it, or you can edit it directly via the XCode
Property List Editor or as XML text.
http://developer.apple.com/library/mac/#qa/qa1067/_index.html

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110728/d5d69678/attachment.html>


More information about the macports-users mailing list