On Wed, 26 Jun 2013, Jeremy Chadwick wrote:

When rebuilding everything, I have always resorted to this:

rsync -avH /usr/local/ /usr/local.old/
pkg_delete -a -f
rm -fr /usr/local/*
rm -fr /var/db/ports/*
rm -fr /usr/ports/distfiles/*
cd /usr/ports/whatever
make install clean
{lather rinse repeat until done}

I don't generally rebuild from scratch, but there is a procedure at the end of the portmaster man page for doing it.

Something that should be mentioned: if you are not deleting and reinstalling everything, always--yes, always--check the new entries in /usr/ports/UPDATING first.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to