pkgsrc-ng/databases/mongodb/patches/patch-src_third__party_wiredtiger_SConscript
2016-01-21 23:41:46 +01:00

25 lines
763 B
Plaintext

$NetBSD: patch-src_third__party_wiredtiger_SConscript,v 1.2 2015/06/23 13:31:24 ryoon Exp $
* Add NetBSD case.
--- src/third_party/wiredtiger/SConscript.orig 2015-06-15 15:43:51.000000000 +0000
+++ src/third_party/wiredtiger/SConscript
@@ -2,7 +2,7 @@
import re
import textwrap
-Import("env windows darwin solaris linux freebsd openbsd debugBuild")
+Import("env windows darwin solaris linux freebsd openbsd netbsd debugBuild")
Import("get_option")
env = env.Clone()
@@ -32,6 +32,8 @@ elif freebsd:
env.Append(CPPPATH=["build_freebsd"])
elif openbsd:
env.Append(CPPPATH=["build_openbsd"])
+elif netbsd:
+ env.Append(CPPPATH=["build_netbsd"])
elif linux:
env.Append(CPPPATH=["build_linux"])
env.Append(CPPDEFINES=["_GNU_SOURCE"])