pkgsrc/www/firefox68/patches/patch-toolkit_moz.configure
ryoon ebc9069030 www/firefox68: import firefox68-68.1.0
Mozilla Firefox is a free, open-source and cross-platform web browser
for Windows, Linux, MacOS X and many other operating systems.

It is fast and easy to use, and offers many advantages over other web
browsers, such as tabbed browsing and the ability to block pop-up
windows.

Firefox also offers excellent bookmark and history management, and it
can be extended by developers using industry standards such as XML,
CSS, JavaScript, C++, etc. Many extensions are available.

This package provides Firefox 68 ESR.
2019-09-21 07:31:43 +00:00

23 lines
740 B
Text

$NetBSD: patch-toolkit_moz.configure,v 1.1 2019/09/21 07:31:44 ryoon 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)