ENV to macports

Rainer Müller raimue at macports.org
Wed Feb 11 11:39:33 PST 2009


Tim Lee wrote:
> How many ports actually contain darwin 8 or 9 variants?

$ port echo all |wc -l
    5551
$ port echo variant:darwin_8 |wc -l
     127
$ port echo variant:darwin_9 |wc -l
     128

> When overriding macosx_deployment_target, CFLAGS, and LDFLAGS, do
> these get appended to the macports environment or do they replace the
> macports environment vars?

When you specify these on the command line they override the Portfile,
but the Portfile overrides macports.conf.

The order is as follows:
  macports.conf < Portfile < command line

Where "<" means "overriden by", from left to right.

Rainer


More information about the macports-users mailing list