From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 19:23:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2478E16A419 for ; Wed, 19 Dec 2007 19:23:13 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id C2B7213C4E8 for ; Wed, 19 Dec 2007 19:23:12 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from tau.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id 5B1773015A; Wed, 19 Dec 2007 19:23:10 +0000 (GMT) Message-ID: <47696F9D.3000503@cran.org.uk> Date: Wed, 19 Dec 2007 19:23:09 +0000 From: Bruce Cran User-Agent: Thunderbird 2.0.0.9 (X11/20071201) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> In-Reply-To: <47689079.4040700@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Erich Dollansky , freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 19:23:13 -0000 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) > If you're running a "make [dist]clean" from the top-level directory you probably want to define NOCLEANDEPENDS so it doesn't try and recursively clean each port - i.e run "make NOCLEANDEPENDS=yes distclean". -- Bruce