setting variants on the fly

Randall Wood rhwood at mac.com
Wed Nov 21 03:17:03 PST 2007


Is it possible?

What I would like to do is be able to test either that a dependency  
was installed with a certain variant or that a file exists and then  
set a variant on the port being installed based on that information.

Background:
I am reworking the gtk2 port so that it can be installed without X11.  
What I want to be able to do is have "sudo port install gtk2" work  
correctly, installing gtk2 with the correct variants for the machine  
its being installed on without user intervention or complaint.

Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."




More information about the macports-dev mailing list