Removing a port and dependencies?

Ryan Schmidt ryandesign at macports.org
Mon Sep 14 21:14:33 PDT 2009


On Sep 14, 2009, at 23:05, Michael_google gmail_Gersten wrote:

> Is there an easy way to remove a port and all of its dependencies that
> are not being used by something else?
>
> I can use port-rdeps to find all dependencies, and can force them all
> to be removed. That's no longer a problem.
>
> If I try to remove only the not-in-use stuff? Well, then order becomes
> important, and the order out of port-rdeps doesn't come out useful.
> And all of the "follow dependencies" options are for upgrading only.
>
> Ideas?

Use the port_cutleaves script; you can install the port_cutleaves port  
to get it.



More information about the macports-users mailing list