I started cleaning up unused ports with portmaster -s, but the first one it wanted to uninstall is asciidoc. It was automatically installed, but it's a build dependency for a lot of my ports. How can I remove unused ports but keep build dependency ports?
Adding BUILD_DEPENDS to RUN_DEPENDS in the Makefile before building will give you the desired behavior.
I don't know if there is an easy way to do this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.