$NetBSD: patch-toolkit_moz.configure,v 1.3 2021/12/28 20:05:49 nia Exp $ * skia part: support bigendian architectures --- toolkit/moz.configure.orig 2018-05-03 16:58:41.000000000 +0000 +++ toolkit/moz.configure @@ -932,11 +932,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)