Port OPTIONS advice

Martin Neubauer m.ne at gmx.net
Wed May 20 18:36:24 UTC 2020



On 20/05/2020 20:07, SirDice wrote:
> On Wed, May 20, 2020 at 7:45 PM Martin Neubauer <m.ne at gmx.net> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200520/50bdcb5b/attachment.sig>


More information about the freebsd-ports mailing list