pkgsrc/www/firefox31/patches/patch-ipc_chromium_moz.build
ryoon f9e1049018 Import firefox31-31.2.0 as www/firefox31.
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.
2014-11-03 12:18:31 +00:00

18 lines
580 B
Text

$NetBSD: patch-ipc_chromium_moz.build,v 1.1 2014/11/03 12:18:32 ryoon Exp $
Don't assume cocoa toolkit just because OS_ARCH is Darwin.
--- ipc/chromium/moz.build.orig 2014-05-06 22:55:41.000000000 +0000
+++ ipc/chromium/moz.build
@@ -19,7 +19,10 @@ if CONFIG['OS_ARCH'] == 'WINNT':
else:
os_posix = 1
if CONFIG['OS_ARCH'] == 'Darwin':
- os_macosx = 1
+ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
+ os_macosx = 1
+ else:
+ os_bsd = 1
elif CONFIG['OS_ARCH'] == 'DragonFly':
os_dragonfly = 1
os_bsd = 1