Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2018 17:49:16 +0200
From:      Stefan Esser <se@freebsd.org>
To:        John <tech-lists@zyxst.net>
Cc:        Greg Byshenk <freebsd@byshenk.net>, freebsd-stable@freebsd.org
Subject:   Re: KBI unexpexted change in stable/11 ?
Message-ID:  <19b642db-104c-0288-c485-562309071363@freebsd.org>
In-Reply-To: <1522251000.3459457.1319064600.0294FF59@webmail.messagingengine.com>
References:  <20180328130903.GC6612@zxy.spb.ru> <20180328133946.GN51114@v1.leiden.byshenk.net> <f716732b-cadf-3dc8-3df3-e40b96564efe@zyxst.net> <20180328142014.GO51114@v1.leiden.byshenk.net> <1522251000.3459457.1319064600.0294FF59@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 28.03.18 um 17:30 schrieb John:
> On Wed, 28 Mar 2018, at 15:20, Greg Byshenk wrote:
>> On Wed, Mar 28, 2018 at 03:11:50PM +0100, tech-lists wrote:
>>> On 28/03/2018 14:39, Gregory Byshenk wrote:
>>>> You can do this manually, or by adding a PORTS_MODULES line to
>>>> /etc/make.conf. This will rebuild the listed modules from ports
>>>> when you build a new kernel.
>>>
>>> Are you sure it's in /etc/make.conf and not /etc/src.conf?
>>
>> No. But it is in the man page for make.conf and not src.conf.
> 
> yeah. That is... confusing! at least to me, because [I thought it would be] 
> src.conf that's consulted when src is built. So I ran a couple of tests and 
> found that it would work in either file HOWEVER if one ports module statement 
> was in src.conf and another, different ports module statement was in make.conf, 
> that the one in src.conf would get built but the one in make.conf would not. 
> 
> how confusing is that. This is on 11.1-stable.
No, its not confusing at all, if you think about it ... ;-)

/etc/make.conf is included in any case, but kernel and world builds will
include /etc/src.conf thereafter (and overwrite earlier settings read from
make.conf, unless ?= is used to preserve the earlier value, or += to append
the new values).

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19b642db-104c-0288-c485-562309071363>