(Imported from Trac #401, reported by @dcoutts on 2008-11-08)
For some packages one has to pick one of several mutually exclusive options. For example yi has a number of console or gui front ends.
That can be expressed in terms of boolean flags but it's a little clumsy. We should consider adding some syntactic sugar.
Currently it can be expressed by excluding the choice of picking none:
if flag(coca) && os(osx)
if ! ( flag(gtk) || flag(vty) || (flag(coca) && os(osx)) )
In some cases we would want the options to be mutually exclusive and in others we would want to simply force the choice of one option, but multiple options might be possible.
So the question is what kind of syntactic sugar would we like, how would it translate and how would it be exposed to package managers. eg:
values: gtk, vty, coca
Needs some thought.
Closing as there's been no activity in years.
We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.