[68182] trunk/dports/python

Ryan Schmidt ryandesign at macports.org
Fri May 28 11:43:34 PDT 2010


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
}




More information about the macports-dev mailing list