checking if a port is installed (even if not active) from a PortGroup?

René J.V. Bertin rjvbertin at gmail.com
Tue Sep 17 09:33:52 UTC 2024


On Monday September 16 2024 20:29:58 Ryan Carsten Schmidt wrote:

>I don't know, but there's no reason why a portgroup would need to know this. 

Not what I was asking, and I wouldn't be asking if I couldn't think of a few reasons.

For instance, a port that has an optional useful dependency on an expensive port via a variant could draw attention to the fact the dependency is already installed by making the variant default even if the dependency is not currently active.

My real interest here lies in my Linux adaptation, where some additional considerations are at play.


More information about the macports-dev mailing list