How to find which ports depends on a given one when using macports?
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?
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.
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.