8

Is there any way to remove build dependencies of the port after installing it?

Many ports use exotic tools for building and these tools are not used anymore when port is builded and installed.

masegaloeh
  • 17,978
  • 9
  • 56
  • 104
artvolk
  • 309
  • 2
  • 10

2 Answers2

10

My suggestion would be pkg_cutleaves (available in the ports collection), or pkg-orphan -- Both of these do the same basic thing (list packages that aren't referred to as a dependency by any other package, and ask you what to do).

I wouldn't bother though: The build dependencies will just have to be rebuilt and reinstalled when you upgrade the port, and they generally don't take up huge amounts of room. Leaving them won't hurt you unless your system is severely disk-space constrained.

voretaq7
  • 79,345
  • 17
  • 128
  • 213
0

Maybe you should use the packages?

SergeySL
  • 11
  • 2
  • 2
    Packages are often are a bit older and some ports need to be configured before build, so packages are not often and option for me. System binary updates are cool though. – artvolk Apr 15 '12 at 09:10