aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlite34
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-12-13 03:16:47 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-12-13 03:16:47 +0000
commit8784ca3c23adca7c6093cb664a0e81a679f8ba24 (patch)
tree4bb214d5a55af074e01461f0d21a6589ce6c191f /databases/sqlite34
parent12035fe7720b346e2a8c4209fdb879a81a1f64b2 (diff)
downloadports-8784ca3c23adca7c6093cb664a0e81a679f8ba24.tar.gz
ports-8784ca3c23adca7c6093cb664a0e81a679f8ba24.zip
Notes
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/.//}