blob: 14591252109cf1ac922773122dc5eff263573230 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: options.mk,v 1.3 2021/04/09 14:30:09 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mongodb
PKG_SUPPORTED_OPTIONS= ssl
# The prospect of using databases/wiredtiger is unclear yet;
# MongoDB doesn't provide guarantees for non-bundled WiredTiger:
# https://groups.google.com/forum/#!msg/mongodb-dev/31FQSo4KVCI/Fx-WtJ9fzU4J
.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "aarch64"
PKG_SUPPORTED_OPTIONS+= wiredtiger
PKG_SUGGESTED_OPTIONS+= wiredtiger
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/openssl/buildlink3.mk"
SCONS_ARGS+= --ssl
.endif
.if !empty(PKG_OPTIONS:Mwiredtiger)
SCONS_ARGS+= --wiredtiger=on
.else
SCONS_ARGS+= --wiredtiger=off
.endif
|