Date: Tue, 27 Feb 2024 09:24:13 +0300 From: Gleb Popov <arrowd@freebsd.org> To: Alastair Hogge <agh@riseup.net> Cc: freebsd-ports@freebsd.org Subject: Re: emulators/mame: Increasing option granularity woes Message-ID: <CALH631=TsOzONNmh3zFwR-SeqBzB9yHCc=aHTYJGBgi7U1Pukg@mail.gmail.com> In-Reply-To: <137c5ccbdaa6ca8e5913771d0ed737d7@riseup.net> References: <0f7f4f5675d1e75e504ad67d963e8874@riseup.net> <CALH631=4UCndd8NZo4Zzxop8MBCBLHTU_i1RUezxTBH0P5VaNQ@mail.gmail.com> <137c5ccbdaa6ca8e5913771d0ed737d7@riseup.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 27, 2024 at 5:43=E2=80=AFAM Alastair Hogge <agh@riseup.net> wro= te: > > 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=3D .else BAR=3D .endif" form. I'm afraid you'd still have to write post-install: .if ${PORT_OPTIONS:MFOO} || ${PORT_OPTIONS:MBAR} ... .endif for optionalizing targets.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631=TsOzONNmh3zFwR-SeqBzB9yHCc=aHTYJGBgi7U1Pukg>