aboutsummaryrefslogtreecommitdiffstats
path: root/databases/sqlite34
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-12-13 11:16:47 +0800
committermnag <mnag@FreeBSD.org>2006-12-13 11:16:47 +0800
commit67bf32f83b1d8d84969e0a448a181348dc32f123 (patch)
treeb173d70a168235d3653989c1b3717c4425f0bfee /databases/sqlite34
parent96a737ca576828bfb3f2f3580fc5b59c81f419eb (diff)
downloadfreebsd-ports-gnome-67bf32f83b1d8d84969e0a448a181348dc32f123.tar.gz
freebsd-ports-gnome-67bf32f83b1d8d84969e0a448a181348dc32f123.tar.zst
freebsd-ports-gnome-67bf32f83b1d8d84969e0a448a181348dc32f123.zip
- Add OPTION to build FTS1 (Full text search).
PR: 106281 Submitted by: Barry Pederson<bp___barryp.org>
Diffstat (limited to 'databases/sqlite34')
-rw-r--r--databases/sqlite34/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/databases/sqlite34/Makefile b/databases/sqlite34/Makefile
index 5dfa3d44b75e..1766270cee70 100644
--- a/databases/sqlite34/Makefile
+++ b/databases/sqlite34/Makefile
@@ -28,6 +28,7 @@ EXAMPLESDIR= ${PREFIX}/share/examples/sqlite3
OPTIONS= DEBUG "Enable debugging & verbose explain" off \
DOCS "Building docs (depends on TCL)" on \
+ FTS1 "Enable FTS1 (Full Text Search) module" off \
TCLWRAPPER "TCL wrapper for SQLITE" off \
THREADS "Enable threads support" off
@@ -48,6 +49,11 @@ ALL_TARGET+= all doc
PORTDOCS= *
.endif
+.if defined(WITH_FTS1)
+CFLAGS+= -DSQLITE_ENABLE_FTS1
+EXTRA_PATCHES= ${FILESDIR}/fts1_patch-Makefile.in
+.endif
+
.if defined(WITH_TCLWRAPPER)
CATEGORIES+= lang tcl${TCL_V:S/.//}
LIB_DEPENDS+= tcl${TCL_V:S/.//}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}