blob: e61d73ee50e741f1c579380f817551398c9afaa0 (
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.6 2020/03/23 19:37:54 rmind Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sqlite3
PKG_SUPPORTED_OPTIONS= fts icu rtree deserialize
PKG_SUGGESTED_OPTIONS= fts # enabled in NetBSD builtin version
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfts)
CFLAGS+= -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1
.endif
.if !empty(PKG_OPTIONS:Micu)
CFLAGS+= -DSQLITE_ENABLE_ICU=1
LDFLAGS+= -licui18n -licuuc -licudata
.include "../../textproc/icu/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mrtree)
CFLAGS+= -DSQLITE_ENABLE_RTREE=1
.endif
.if !empty(PKG_OPTIONS:Mdeserialize)
CFLAGS+= -DSQLITE_ENABLE_DESERIALIZE=1
.endif
|