rough method of cleaning the ports tree
oceanare at pacific.net.sg
Wed Dec 19 17:59:33 PST 2007
Dominic Fandrey wrote:
> 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.
this is what I will do. Plus not cleaning depending ports to speed up a
bit the build process.
More information about the freebsd-ports