build.args arg="FLAG1 FLAG2"

Jeremy Lavergne jeremy at lavergne.gotdns.org
Mon Jul 4 18:02:19 PDT 2011


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3749 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110704/97c80c65/attachment.bin>


More information about the macports-dev mailing list