Can't access configure.env in portfile

Rainer Müller raimue at macports.org
Fri Dec 11 15:03:01 PST 2009


On 2009-12-11 23:12 , Ryan Schmidt wrote:
> Yes, but if you set (rather than append to) configure.env in a
> portfile, you overwrite the default environment. Therefore it was
> unexpected to me not to be able to see the default environment in
> configure.env when querying it. No matter; I've found another way.

Options like configure.cflags take precedence over a construct like
"configure.env CFLAGS=" and therefore you cannot overwrite the defaults
in this way. Note that configure.env is empty by default.

Rainer


More information about the macports-dev mailing list