[MacPorts] #68633: qt6 should have small 'development" package / QTDIR not set during install

MacPorts noreply at macports.org
Sat Nov 4 00:57:25 UTC 2023


#68633: qt6 should have small 'development" package / QTDIR not set during install
--------------------------+-----------------------------
  Reporter:  Behinder     |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:  MacPorts Future
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:  qt6
      Port:               |
--------------------------+-----------------------------

Comment (by ryandesign):

 MacPorts does not have -devel packages in the way that some Linux
 distributions have them. Instead, those components are part of the main
 port. For example, the MacPorts zlib port contains everything that the
 zlib and zlib-devel packages might contain in such Linux distribution. We
 have not seen a need for that kind of separation in MacPorts.

 MacPorts ''does'' have -devel ports that have a different purpose. They
 install a (usually) newer development version of a port, instead of the
 (usually) stable version provided by the main port. For example, the
 cairo-devel port currently contains a newer version of the same software
 that is in the cairo port.

 MacPorts does not set any environment variable for you in your shell. You
 can edit your shell startup files to set whatever environment variables
 you wish. (Well, the MacPorts installer will edit your shell startup file
 to set the PATH environment variable to include the MacPorts path, and
 some other environment variables in unusual situations, but that's only
 the MacPorts installer. MacPorts itself will not edit your shell startup
 files.)

 The intended way to clean up unneeded ports is for you use `sudo port
 reclaim` (which MacPorts will automatically remind you to run every two
 weeks). It will offer to uninstall ports you did not request. Ports you
 request are those you install directly, e.g. if you use `sudo port install
 qt6-qtbase` then qt6-qtbase is marked requested and all the dependencies
 MacPorts needed to install first are not marked requested. You can see the
 list of ports MacPorts considers requested with `port installed requested`
 and similarly the list of ports not considered requested with `port
 installed unrequested`. If MacPorts has the wrong idea about what is
 requested and what is not, and thus makes the wrong suggestions during
 reclaim, you can correct it using the commands `sudo port setrequested
 someport` and `sudo port unsetrequested someport` where "someport" should
 be replaced with the port name(s).

 If you have other questions about how to use MacPorts, the macports-users
 mailing list is a better place to get answers than the issue tracker.

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


More information about the macports-tickets mailing list