[MacPorts] #53230: preparing port:qt5-kde step 2 : the qt5 PortGroup(s)
MacPorts
noreply at macports.org
Fri Jan 6 22:51:10 UTC 2017
#53230: preparing port:qt5-kde step 2 : the qt5 PortGroup(s)
----------------------+-----------------
Reporter: RJVB | Owner:
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt5-kde |
----------------------+-----------------
Comment (by RJVB):
Craig, I think you hit paydirt by a more specific requirement than usual.
You'd need
{{{
qt5.depends_component \
qtscript \
qtwebkit \
mysql-plugin
if {[variant_isset qt5kde]} {
register_active_variants qt5-kde mariadb55 mysql55
} else {
register_active_variants qt5-mysql-plugin mariadb55 mysql55
}
}}}
the extra complexity is because qt5-kde-mysql-plugin is a stub port for
something provided by qt5-kde itself. Even if the stub was added to the
dep. list I'm not sure that requiring it to have to indicated variants
would have the intended effect.
It is not yet clear if `[variant_isset qt5kde]` will be the preferred
check for dependents, or `[tbool qt5.using_kde]`.
--
Ticket URL: <https://trac.macports.org/ticket/53230#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list