blob: ade94a5cedcd74bf4e2492f0d770f2568e12ba2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $NetBSD: options.mk,v 1.1 2018/11/11 01:59:23 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.greylisting-spp
PKG_OPTIONS_OPTIONAL_GROUPS= db
PKG_OPTIONS_GROUP.db= db4 sqlite sqlite3
PKG_SUGGESTED_OPTIONS= sqlite3
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdb4)
. include "../../databases/db4/buildlink3.mk"
BUILD_MAKE_FLAGS+= DB_IMPL=bdb
.elif !empty(PKG_OPTIONS:Msqlite)
. include "../../databases/sqlite/buildlink3.mk"
BUILD_MAKE_FLAGS+= DB_IMPL=sqlite
.elif !empty(PKG_OPTIONS:Msqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
BUILD_MAKE_FLAGS+= DB_IMPL=sqlite3
.else
BUILD_MAKE_FLAGS+= DB_IMPL=file
.endif
|