summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-build_moz.configure_memory.configure
blob: 68e1821536128a20b7d5802c49852553f837d5a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-build_moz.configure_memory.configure,v 1.1 2017/04/27 01:55:57 ryoon Exp $

Recognise DragonflyBSD

--- build/moz.configure/memory.configure.orig	2017-01-16 16:16:51.000000000 +0000
+++ build/moz.configure/memory.configure
@@ -66,7 +66,7 @@ def jemalloc_os_define(jemalloc, jemallo
             return 'MOZ_MEMORY_LINUX'
         if target.kernel == 'Darwin':
             return 'MOZ_MEMORY_DARWIN'
-        if target.kernel in ('kFreeBSD', 'FreeBSD', 'NetBSD'):
+        if target.kernel in ('kFreeBSD', 'FreeBSD', 'NetBSD', 'DragonFly'):
             return 'MOZ_MEMORY_BSD'
         die('--enable-jemalloc is not supported on %s', target.kernel)