pkgsrc/www/firefox38/patches/patch-ipc_chromium_moz.build
ryoon 9cd6a39c3e Import firefox38-38.1.0 as www/firefox38.
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 tracks 38 ESR.
2015-07-09 14:13:51 +00:00

18 lines
580 B
Text

$NetBSD: patch-ipc_chromium_moz.build,v 1.1 2015/07/09 14:13:52 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