diff options
Diffstat (limited to 'databases/sqlite3/options.mk')
-rw-r--r-- | databases/sqlite3/options.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/sqlite3/options.mk b/databases/sqlite3/options.mk new file mode 100644 index 00000000000..c37f525869c --- /dev/null +++ b/databases/sqlite3/options.mk @@ -0,0 +1,14 @@ +# $NetBSD: options.mk,v 1.3 2010/12/17 00:37:34 agc Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sqlite3 +PKG_SUPPORTED_OPTIONS= rtree fts + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mrtree) +CFLAGS+= -DSQLITE_ENABLE_RTREE=1 +.endif + +.if !empty(PKG_OPTIONS:Mfts) +CFLAGS+= -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 +.endif |