On 20/05/2020 20:07, SirDice wrote: > On Wed, May 20, 2020 at 7:45 PM Martin Neubauer <[email protected]> wrote: > >> How about something like: >> >> ---------------------------- >> OPTIONS_DEFINE_amd64= JIT >> OPTIONS_DEFINE_i386= JIT >> >> JIT_CONFIGURE_ENABLE= jit >> ---------------------------- >> >> That's what I had originally. The problem is that JIT_CONFIGURE_ENABLE is > only parsed on amd64/i386. So it never passes --without-jit to ./configure > on other architectures. > >> JIT_CONFIGURE_OFF= --without-jit > > Haven't tried that yet. But won't that suffer from the same effect, only > getting parsed if on amd64/i386?
Honestly, I haven't tried it myself either, but judging from the usage of this method (eg. in /usr/ports/biology/mrbayes/Makefile) it at least seems to do just what you need. -- Shipwrecked by the laughter of the gods.
signature.asc
Description: OpenPGP digital signature
