diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-12-13 03:16:47 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-12-13 03:16:47 +0000 |
commit | 8784ca3c23adca7c6093cb664a0e81a679f8ba24 (patch) | |
tree | 4bb214d5a55af074e01461f0d21a6589ce6c191f /databases | |
parent | - Fix SIGSEGV in amd64 using size_t instead of int. [1] (diff) |
- Add OPTION to build FTS1 (Full text search).
PR: 106281
Submitted by: Barry Pederson<bp___barryp.org>
Notes
Notes:
svn path=/head/; revision=179623
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqlite3/Makefile | 6 | ||||
-rw-r--r-- | databases/sqlite34/Makefile | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 5dfa3d44b75e..1766270cee70 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/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/.//} 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/.//} |