Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 9 down vote accepted

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.

share|improve this answer

Maybe you should use the packages?

share|improve this answer
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 9:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.