20 lines
498 B
Makefile
20 lines
498 B
Makefile
# $NetBSD: options.mk,v 1.4 2011/05/17 11:23:53 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sqlite3
|
|
PKG_SUPPORTED_OPTIONS= fts icu rtree
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mfts)
|
|
CFLAGS+= -DSQLITE_ENABLE_FTS3=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
|