rough method of cleaning the ports tree

Brian bri at brianwhalen.net
Tue Dec 18 19:34:35 PST 2007


Aryeh M. Friedman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Erich Dollansky wrote:
>   
>> Hi,
>>
>> 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?
>>     
>
> Even though it will take quite a bit longer you should just do a "make
> distclean" in /usr/ports that way anything you hand modified will be
> retained (also you might want to consider keeping a local cvs
> repository if this is an issue)
>
> - --
> Aryeh M. Friedman
> FloSoft Systems
> http://www.flosoft-systems.com
> Developer, not business, friendly
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9
> D42DFTYQ2LV+rIhUKYNOBRc=
> =3/I8
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>   

portsclean -CD may be a help, if it grows as a result of compilation.

Brian




More information about the freebsd-questions mailing list