rough method of cleaning the ports tree
LoN_Kamikaze at gmx.de
Wed Dec 19 09:34:22 PST 2007
Erich Dollansky wrote:
> after noticing how large my ports tree grows while compiling, I thought
> of simply deleting it and do a CVSup to get a new one after the
> compilation is finished.
> This should be much faster and also should do some kind o
> defragmentation. I simply cannot believe that the huge ports tree will
> still be very well organised after some months.
> What does the list think of this method?
It's a good start, but to keep it clean you should set WRKDIRPREFIX=/usr/obj
or something similar in your make.conf. This way you can just wipe /usr/obj
when uncleaned builds fill up too much disk space.
More information about the freebsd-ports