port dependents foo

Rainer Müller raimue at macports.org
Sat Apr 11 13:56:14 PDT 2009

Lenore Horner wrote:
> I would have expected port dependents foo to tell me all the things  
> that depend in any way on foo.  If I understand correctly what I am  
> seeing, it tells me only what has run-time dependencies on foo.

You only see ports currently being installed and having a library or
runtime dependency (depends_lib/depends_run). Build time dependencies
(depends_build) are not considered.

> I can  
> understand that after installing bar it would be safe to uninstall foo  
> if bar had only a build dependency on it.   However, what if bar has a  
> library dependency on foo?  If I uninstall foo does that kill its  
> libraries breaking bar or does it leave behind all the libraries in  
> which case how does one keep from ending up with a hopelessly  
> cluttered system?

You will get a warning if you try to uninstall foo although bar is still
installed and depends on it.


More information about the macports-users mailing list