[MacPorts] #63830: cmake: migrate variants '+gui' and '+docs' to subports

MacPorts noreply at macports.org
Sun Nov 7 15:02:56 UTC 2021


#63830: cmake: migrate variants '+gui' and '+docs' to subports
----------------------+----------------------
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  cmake    |
----------------------+----------------------
Description changed by mascguy:

Old description:

> When enabling the variants for the CMake GUI and/or Docs, that results in
> a tremendous number of requisite dependencies built/installed first. And
> at some point, we may have a circular dependency issue, when those are
> enabled.
>
> Given that CMake is very much a foundational port, it should always have
> the bare minimum of dependencies. In order to ensure that, let's migrate
> the GUI and Docs to two separate subports. (Perhaps named `cmake-gui` and
> `cmake-docs`.)
>
> @michaelld, I'll do the work, if you support the idea!

New description:

 When enabling the variants for the CMake GUI and/or Docs, that results in
 a tremendous number of requisite dependencies built/installed first.

 Given that CMake is very much a foundational port, it should always have
 the bare minimum of dependencies. In order to ensure that, let's migrate
 the GUI and Docs to two separate subports. (Perhaps named `cmake-gui` and
 `cmake-docs`.)

 By making this change, we can also simplify the main port: It will
 eliminate most of the logic preventing circular dependencies, when the
 variants are enabled.

 @michaelld, I'll do the work, if you support the idea!

--

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


More information about the macports-tickets mailing list