Date: Fri, 16 Apr 2021 07:05:04 +1000 From: Dewayne Geraghty <dewayne@heuristicsystems.com.au> To: freebsd-questions@freebsd.org Subject: Re: Cleaning Ports Tree Message-ID: <ece5e434-1bc1-987f-7198-932822af2f40@heuristicsystems.com.au> In-Reply-To: <0a04f310-af5c-371c-0940-1b0af0f5aca4@tundraware.com> References: <0a04f310-af5c-371c-0940-1b0af0f5aca4@tundraware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16/04/2021 6:37 am, Tim Daneliuk via freebsd-questions wrote: > I am aware that one can do this to clean the ports tree: > > cd /usr/ports > make clean > > However, this is very slow. Is there any reason not to do this instead: > > find /usr/ports -type d -name work -exec -vrf {} \; > > This second approach is much, much (much) faster, I just want to make > sure I am not creating nasty side-effects thereby. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I've done a similar thing since 2003 without ill effects. For completeness I also have (in make.conf): WRKDIRPREFIX=/var/ports # when I perform a rebuild, I simply delete the subdirs DISTDIR=/distfiles # so all the distfiles are in one place PACKAGES=/packages # same for the outputs. It also allows the use of multiple devices.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ece5e434-1bc1-987f-7198-932822af2f40>