On May 28, 2010, at 13:36, Ryan Schmidt wrote:

>> +default_variants    python26
> 
> The correct syntax is "default_variants +python26"

And you don't want to set default_variants to python26 if the user has already 
selected one of the other variants. So you really want:

if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset 
python27]} {
        default_variants +python26
}


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

Reply via email to