pkgsrc-ng/www/firefox/patches/patch-ipc_glue_moz.build
2016-01-21 23:42:40 +01:00

16 lines
492 B
Plaintext

$NetBSD: patch-ipc_glue_moz.build,v 1.2 2015/07/03 10:25:40 ryoon Exp $
Don't assume cocoa toolkit just because OS_ARCH is Darwin.
--- ipc/glue/moz.build.orig 2015-06-18 20:55:28.000000000 +0000
+++ ipc/glue/moz.build
@@ -87,7 +87,7 @@ elif CONFIG['OS_ARCH'] in ('DragonFly',
UNIFIED_SOURCES += [
'ProcessUtils_bsd.cpp'
]
-elif CONFIG['OS_ARCH'] == 'Darwin':
+elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
UNIFIED_SOURCES += [
'ProcessUtils_mac.mm'
]