On Tue, Feb 27, 2024 at 5:43 AM Alastair Hogge <a...@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.

Reply via email to