Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 16:07:08 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Dave Babb <dcbdbis@comcast.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Request for buildworld clarification
Message-ID:  <alpine.BSF.2.11.1409101554440.36938@wonkity.com>
In-Reply-To: <541093BB.5030808@comcast.net>
References:  <541093BB.5030808@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Sep 2014, Dave Babb wrote:

> Good Afternoon All,
>
>
> I am requesting a clarification on make buildworld. I am junior with FreeBSD 
> (< 8 months)...and I am getting confused with Gentoo's definition of build 
> world, and FreeBSD's.
>
> Under Gentoo, when you rebuilt your world, everything got rebuilt. Every 
> package that you had installed in your system including the base.
>
> Am I understanding that in FreeBSD this is a two step process. "make 
> buildworld" simply rebuilds the base system from source.

Correct.

> Then to rebuild your ports....I understand that I need to call 
> "portmaster -af"...Am I correct, or is their a different set of 
> switches I need to pass to portmaster to tell it to rebuild every 
> installed port?

Yes, but...

Don't use 'portmaster -af'.  It is faster to get a list of installed 
ports, delete them all, then reinstall.  There is a procedure at the end 
of the portmaster man page to do that, but it still refers to the old 
pkg_ commands.  I have a PR which updates that procedure for pkg:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191166

Or you can use ports-mgmt/poudriere to build your own packages.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1409101554440.36938>