Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2023 20:14:45 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>, Ed Maste <emaste@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: b908f6c45e02 - main - bsd.mkopt.mk: Add REQUIRED_OPTIONS list
Message-ID:  <60984493-01fd-d02d-496e-1c973cdda2f7@freebsd.org>
In-Reply-To: <CANCZdfpz87nXKw2-mQ0sOzW%2B%2Bv_k3_GtvVEd1vuRUTD5hNuGkQ@mail.gmail.com>
References:  <202306200023.35K0NSlA057479@gitrepo.freebsd.org> <CAPyFy2AoPstPi7eMcbr3Vxp3J26QU8RrqpjP0yW2gQuDoe6z=w@mail.gmail.com> <CANCZdfpz87nXKw2-mQ0sOzW%2B%2Bv_k3_GtvVEd1vuRUTD5hNuGkQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/19/23 18:18, Warner Losh wrote:
> On Mon, Jun 19, 2023, 7:04 PM Ed Maste <emaste@freebsd.org 
> <mailto:emaste@freebsd.org>> wrote:
>     On Mon, 19 Jun 2023 at 20:23, Colin Percival <cperciva@freebsd.org
>     <mailto:cperciva@freebsd.org>> wrote:
>      > bsd.mkopt.mk <http://bsd.mkopt.mk>: Add REQUIRED_OPTIONS list
>      >
>      >     Options on this list will be forced to 'yes'.  This is intended for use
>      >     as a transitional measure when an option is ceasing to be optional,
>      >     before all of the associated make logic is removed.
> 
>     Should we emit a warning when an option is disabled in src.conf but
>     specified in REQUIRED_OPTIONS?
> 
>     e.g. warning: WITHOUT_CAPSICUM option ignored: it is no longer supported
> 
> I asked for this in the review... I didn't approve the review because I was 
> waiting for an answer to the request.

I'm happy to add such a warning, although I'm not sure how useful it would be
(unless we add a 'sleep 60' afterwards perhaps?), but I don't see any such
comments on the review... did phabricator eat it?

-- 
Colin Percival
FreeBSD Deputy Release Engineer & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60984493-01fd-d02d-496e-1c973cdda2f7>