Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Feb 2024 22:17:37 +0000
From:      Alastair Hogge <agh@riseup.net>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: emulators/mame: Increasing option granularity woes
Message-ID:  <0d08240fcec39f7e34ddf55fa89eb48e@riseup.net>
In-Reply-To: <CALH631=TsOzONNmh3zFwR-SeqBzB9yHCc=aHTYJGBgi7U1Pukg@mail.gmail.com>
References:  <0f7f4f5675d1e75e504ad67d963e8874@riseup.net> <CALH631=4UCndd8NZo4Zzxop8MBCBLHTU_i1RUezxTBH0P5VaNQ@mail.gmail.com> <137c5ccbdaa6ca8e5913771d0ed737d7@riseup.net> <CALH631=TsOzONNmh3zFwR-SeqBzB9yHCc=aHTYJGBgi7U1Pukg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2024-02-27 14:24, Gleb Popov wrote:
> On Tue, Feb 27, 2024 at 5:43 AM Alastair Hogge <agh@riseup.net> wrote:
>>
>> however, I do not know how that translates to Makefile
>> targets, like do-install-NON_USER_FACING_OPT-on. Currently the Makefile
>> target is of the ".if somecond FOO= .else BAR= .endif" form.
> 
> I'm afraid you'd still have to write
> 
> post-install:
> .if ${PORT_OPTIONS:MFOO} || ${PORT_OPTIONS:MBAR}
> ...
> .endif
> 
> for optionalizing targets.

Thanks.



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