[libdbd-sqlite3-perl] 09/43: see if SQLITE_ENABLE_FTS3_TOKENIZER environmental variable is set, for those who do need perl tokenizer

Salvatore Bonaccorso carnil at debian.org
Tue Nov 15 15:27:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libdbd-sqlite3-perl.

commit 58ba45f1797370e220eb627e6b7aec1d567db257
Author: Kenichi Ishigaki <ishigaki at cpan.org>
Date:   Tue Feb 16 13:06:51 2016 +0900

    see if SQLITE_ENABLE_FTS3_TOKENIZER environmental variable is set, for those who do need perl tokenizer
---
 Makefile.PL | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile.PL b/Makefile.PL
index db5ddb5..dde27d9 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -230,6 +230,11 @@ my @CC_DEFINE = (
 	'-DNDEBUG=1',
 );
 
+# for upstream security concern, this should be set only if requested
+if ($ENV{SQLITE_ENABLE_FTS3_TOKENIZER}) {
+	push @CC_DEFINE, '-DSQLITE_ENABLE_FTS3_TOKENIZER'; # for sqlite >= 3.11.0
+}
+
 if (DEVELOPER_ONLY) {
 	# for sqlite >= 3.8.8
 	push @CC_DEFINE, '-DSQLITE_ENABLE_API_ARMOR';

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbd-sqlite3-perl.git



More information about the Pkg-perl-cvs-commits mailing list