On 2012-10-19 02:16 , Jeremy Lavergne wrote:
>> I am trying to set a variable in a variant for later use in another variant, 
>> but I am getting errors that the variable does not exist. Here are the 
>> relevant lines:
> 
> Try wrapping your code in "if {[variant_isset ...]} {...}" rather than inside 
> a variant block--much like how default_variants is used in your code.

That's probably the best approach, since variants aren't guaranteed to
be evaluated in any particular order.

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to