portupgrade(1) | portmaster(8) -- which is more effective for large upgrade?

Daniel O'Connor doconnor at gsoft.com.au
Wed Jun 26 23:20:49 UTC 2013


On 27/06/2013, at 5:53, Jeremy Chadwick <jdc at koitsu.org> wrote:
> cd /usr/ports/whatever
> make install clean
> {lather rinse repeat until done}

The faster version of this is
find /usr/ports -maxdepth 3 -name work -type d -print0 | xargs -0 rm -rf

Simpler is to put..
WRKDIRPREFIX=/foo/bar
in /etc/make.conf

Then you can just rm -rf /foo/bar/work to delete all of the port build goop.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-stable mailing list