Is it generally okay to uninstall all inactive leaves?

Ryan Schmidt ryandesign at
Sun Feb 15 11:15:00 PST 2015

On 15 Feb 2015, at 19:46 , Carlo Tambuatco wrote:
> So build dependencies are *always* left behind after upgrading all ports whether they are needed to run ports or not?

Yes, if a dependency is installed, then it stays installed until you uninstall it. 

> Seems like macports should have an option that prunes this stuff after every upgrade. It should be the port developer's responsibility to mark what is needed to run their port and have the rest deleted after every upgrade. Just my opinion.

No such option exists at this time. However, note that in many cases, users will get a binary built by our automated build servers. In that case, build dependencies don't get installed on the user machine. 

More information about the macports-users mailing list