$NetBSD: patch-mozilla_toolkit_moz.configure,v 1.5 2021/02/08 12:26:20 ryoon Exp $ --- toolkit/moz.configure.orig 2020-02-17 23:39:43.000000000 +0000 +++ toolkit/moz.configure @@ -961,11 +961,11 @@ include('nss.configure') # ============================================================== option('--disable-skia', help='Disable use of Skia') -@depends('--disable-skia') -def skia(value): - if not value: - die('--disable-skia is not supported anymore') - else: +@depends('--disable-skia', target) +def skia(value, target): + if value.origin == 'default' and target.endianness == 'big': + return None + if value: return True set_config('MOZ_ENABLE_SKIA', skia)