Re: /usr/obj is 11GB huge on FreeBSD 12-current

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 27 Dec 2017 16:48:43 +0100
On 27 Dec 2017, at 16:39, Julian Elischer <julian_at_freebsd.org> wrote:
> 
> On 16/12/17 2:39 am, Konstantin Belousov wrote:
>> Put the following into /etc/src.conf:
> 
> This brings up two questions:
> when to use make.conf and when to use src.conf,

make.conf is for building everything, so ports, or your own programs.

src.conf is for building and installing /usr/src.  WITH_, WITHOUT_ or
MK_ settings go in here.


> and..
> 
>> WITHOUT_PROFILE=yes
>> WITHOUT_DEBUG_FILES=yes
>> WITHOUT_TESTS=yes
> which of the following is correct and why?
> 
> WITH_DEBUG_FILES=no
> WITHOUT_DEBUG_FILES=yes

Since r265399, the WITHOUT_ setting wins.  Note that the value of the
WITH_ or WITHOUT_ setting does not matter, so WITH_DEBUG_FILES=no still
means that DEBUG_FILES is turned on.

If you want less ambiguity, spell your settings in src.conf like:

MK_FOO=yes
MK_BAR=no

-Dimitry


Received on Wed Dec 27 2017 - 14:48:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC