build.args arg="FLAG1 FLAG2"

Joshua Root jmr at macports.org
Mon Jul 4 18:09:49 PDT 2011


On 2011-7-5 11:02 , Jeremy Lavergne wrote:
> I've got a port that's using +no_ variants presently. I'd like to migrate it off but I'm not sure I can replicate the build.args behavior necessary to deal with the setup. You see, build.args takes one argument but it has several values in it.
> 
> build.args ARG="-DVALUE1 -DVALUE2 -DVALUE3"
> 
> We've had issues where if you define modifications to the build.args in a phase it only happens there. I'd like to create a list and then transform it in the build phase but this runs into the very issue I'm aiming to avoid: how would I best go about constructing this so that it's available to MacPorts in each phase? That is, wanting to do it the right way.
> 
> Looking for suggestions.

This sounds very similar to what postfix does.

- Josh


More information about the macports-dev mailing list