On Feb 15, 2012, at 11:52 AM, Jeremy Lavergne wrote:

>> The py25-gtk, py26-gtk, py27-gtk depend on cairo +x11.
>> 
>> I recall that the suggestion to test for a variant specific file and error 
>> if it is [not] present. In this case is there anything that could/would 
>> prevent a user from upgrading the variant away with --enforce-variants?
> 
> You can avoid that creating a dummy default variant on your port to match. If 
> the variant is disabled, then you can error out like before. Then 
> --enforce-variants won't harm anything unless they run it explicitly against 
> a specific port rather than all (since it'll alert the user when it goes to 
> rebuild your port).

Thats to simple; have anything a little more complex? ;-)


Regards,
Bradley Giesbrecht (pixilla)





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

Reply via email to