[MacPorts] #51619: qt5.depends_component procedure

MacPorts noreply at macports.org
Thu Jan 5 20:48:50 UTC 2017


#51619: qt5.depends_component procedure
---------------------------+--------------------
  Reporter:  RJVB          |      Owner:  mkae
      Type:  enhancement   |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:  fixed         |   Keywords:
      Port:  qt5, qt5-kde  |
---------------------------+--------------------

Comment (by RJVB):

 Replying to [comment:34 MarcusCalhoun-Lopez]:
 > In [changeset:"70f320f9d67a096317c6d855f1e1a08295d56679/macports-ports"
 70f320f9/macports-ports]:
 > {{{
 > #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="70f320f9d67a096317c6d855f1e1a08295d56679"
 > qt5 PG: add qtkde variant if requested
 > }}}

 I thought we had agreed that there would not be anything related to
 qt5-kde committed yet?!

 The mechanism for requesting qt5-kde as I designed it uses
 `qt5.prefer_kde`, and `qt5.using_kde` is set only if qt5-kde is indeed
 used, that is, if the preference could be respected.

 I had also strongly suggested that `qt5.using_kde` should be a normal Tcl
 variable, for simplicity.

 Ports are supposed to instruct the Qt5 PG what they expect from it, and
 that means setting a variable before the PG is loaded, much like port:qt5
 and port:qt5-kde set `building_qt5` before loading the PG. Using an
 options variable for that is overkill that makes things more complex for
 everyone.

--
Ticket URL: <https://trac.macports.org/ticket/51619#comment:36>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list