how do I specify a global cflags for all ports ?

Joshua Root jmr at
Fri May 28 15:17:52 PDT 2010

On 2010-5-29 03:43 , benzwt chin wrote:
> Is it possible to append/assign a global cflags  such as
> "-march=nocona" for all packages ?
> or I have to key in the cflags for into the Portfile, it will be a tedious job ?

We don't want to support changing this globally. As the project is open
source, you can of course make any modifications you like to your copy
of e.g. portconfigure.tcl. However, please don't report any bugs if you
do so.

- Josh

More information about the macports-users mailing list