On Sat, Jun 28, 2025 at 02:00:41AM +0100, Jamie Landeg-Jones wrote:
He was asking about flavours. If you're using options, You can actually do
it globally. I'm not sure if options will work in "voids" use-case, but
this is how it's done:
The issue seems to be that, for some qt ports, qt6 is an option.
For others, it's a flavo(u)r.
I just want everything that is qt, to be qt6. If a port is
qt5-only, I'd like it to fail (to be built). If it's just qt
and has neither an option nor a flavo(u)r, (i.e. it just uses
what qt is there, in other words, and in this case, qt6),
then it can be built.
Other ports have default versions that can be set/overridden
I'm surprised this doesn't exist in the same way for qt
and the option/flavo(u)r conundrum.
For now, I'll set OPTIONS_UNSET+=QT5 and OPTIONS_SET+=QT6
and set @qt6 for all the ports where it's not an option but
a flavo(u)r. It's not a showstopper; it's more of an academic
"why is this not like the others".
--