I want to find which ports depends on a given installed port (texlive
in my case). I found port deps texlive
, but this is working in the "wrong" direction. How can I do it?
-
The macports guide has a comprehensive list of ways to do this.– aVeRTRACCommented Dec 11, 2023 at 20:10
Add a comment
|
2 Answers
Use port dependents <portname>
. From man port
:
dependents
Lists the installed ports that depend on the port portname.
There is no way to search for all ports (including those not installed) depending on a certain port.
-
This command seems to ignore build-time reverse dependencies. For example, Mercurial requires
py39-setuptools
, but only at build-time. Any way to obtain that information? Commented Jul 24, 2021 at 2:21
port echo dependentof:texlive
I believe that this will only show you a list of port installed on your machine that depend on the port.