On 12 Jul 2007, at 08:14, Anders F Björklund wrote:
Is it possible to set "default_variants" per platform ?
Basically, I want to set +aqua for platform macosx,
and +x11 for platform puredarwin or platform freebsd.
I tried the most straight-forward approach, wrapping
default_variants in platform, but it didn't work...
For now I made due with "variant aqua requires macosx".
I also seemed to have the misguided notion that the
default variants would somehow go away when actually
providing some variants ? Not so, I had to give an
explicit "+x11 -aqua" to get rid of the defaults...
You could try this:
variant aqua conflicts x11 requires macosx {}
variant x11 conflicts aqua {}
Randall Wood
[EMAIL PROTECTED]
http://shyramblings.blogspot.com
"The rules are simple: The ball is round. The game lasts 90 minutes.
All the
rest is just philosophy."
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev