From 025c9302aefc643bc48ff7efbc14444cae7a6aef Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 17 Sep 2017 14:03:53 +0200 Subject: [PATCH] sqlite: enable some features. * the meta api is used by Qt 5.10. --- dev-db/sqlite/sqlite-3.20.1.0.recipe | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dev-db/sqlite/sqlite-3.20.1.0.recipe b/dev-db/sqlite/sqlite-3.20.1.0.recipe index 5e76c8cc0..2e101a127 100644 --- a/dev-db/sqlite/sqlite-3.20.1.0.recipe +++ b/dev-db/sqlite/sqlite-3.20.1.0.recipe @@ -6,7 +6,7 @@ SQLite is in the public domain." HOMEPAGE="https://www.sqlite.org/" COPYRIGHT="Public Domain" LICENSE="SQLite" -REVISION="1" +REVISION="2" sqliteVersion=$(echo $portVersion | sed -e 's/\.\([0-9]\>\)/0\1/g' -e 's/\.//g') SOURCE_URI="https://www.sqlite.org/2017/sqlite-autoconf-$sqliteVersion.tar.gz" CHECKSUM_SHA256="ec66595b29bc0798b023a5122021ea646ab4fa9e2f735937c5426feeba950742" @@ -52,10 +52,12 @@ BUILD_PREREQUIRES=" BUILD() { - libtoolize --force --copy --install - aclocal - autoconf - automake + autoreconf -fi + export CPPFLAGS="$CPPFLAGS \ + -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY \ + -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_SECURE_DELETE=1 \ + -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS \ + -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_RTREE" runConfigure ./configure # Not using "make $jobArgs" because parallel builds are not supported. make