#39782: Add keyword to list compatible graphical environments (X11, Quartz, Wayland)? --------------------------+-------------------------------- Reporter: c.herbig@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by c.herbig@…): Replying to [comment:4 larryv@…]:
Does gnumeric actually build differently depending on whether gtk is built +quartz or +x11? It is not acceptable for `port install FOO` to produce different results based solely on whether a dependency BAR is installed +baz or -quux or anything. I don't think so, I thought that gtk was supposed to handle all of the compatibility backends (except OpenGL).
The variants should not do nothing. They should check for the presence or absence of the relevant dependencies’ variants, as I described above. I agree, it would be very silly to have a a variant that does nothing, but is only there to advertise that the port is capable of being run in a +quartz environment.
If gnome-chemistry-utils requires its dependencies to be built as -quartz, it should use active_variants-1.1 to enforce this. I didn't know you could do that, I might look at it more later.
Given that one can (sort of) enforce variant selection on dependencies, I don’t see how a new Portfile option meaningfully changes the situation here. Perhaps I am not expressing myself correctly. The idea was not to create a keyword to modify the configuring or building process, it was simply to make a tag that could show up via port info portname that would list the graphical environments the port is known to work with; nothing more than a way to advertise to the user.
-- Ticket URL: <https://trac.macports.org/ticket/39782#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X