Re: emulators/mame: Increasing option granularity woes

From: Alastair Hogge <agh_at_riseup.net>
Date: Thu, 29 Feb 2024 22:17:37 UTC
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.