summaryrefslogtreecommitdiff
path: root/databases/sqlite3
diff options
context:
space:
mode:
authordrochner <drochner>2012-12-14 19:36:37 +0000
committerdrochner <drochner>2012-12-14 19:36:37 +0000
commite38ce600d4345055a5c1870a647358d2783ef4ec (patch)
tree4738919646f79b0abdbef090245ebe5d974f3e72 /databases/sqlite3
parente95e5eb0d7837e526bd20b37b9717a82f53349db (diff)
downloadpkgsrc-e38ce600d4345055a5c1870a647358d2783ef4ec.tar.gz
build with the same options as the NetBSD builtin version,
bump PKGREV
Diffstat (limited to 'databases/sqlite3')
-rw-r--r--databases/sqlite3/Makefile6
-rw-r--r--databases/sqlite3/options.mk5
2 files changed, 8 insertions, 3 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index e639ea59b4b..00aaf540092 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2012/10/06 17:59:07 adam Exp $
+# $NetBSD: Makefile,v 1.57 2012/12/14 19:36:37 drochner Exp $
DISTNAME= sqlite-autoconf-3071401
PKGNAME= sqlite3-3.7.14.1
+PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \
http://www.sqlite.org/
@@ -35,6 +36,9 @@ CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0
# This define includes the sqlite3_unlock_notify() API in the build.
# It is required by Firefox 4.x.
CFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
+# The following are defined in the NetBSD builtin version.
+CFLAGS+= -DSQLITE_ENABLE_COLUMN_METADATA
+CFLAGS+= -DSQLITE_ENABLE_LOAD_EXTENSION
# Uses dlopen and friends but doesn't use -ldl on Linux.
# See http://www.sqlite.org/cvstrac/tktview?tn=3555
diff --git a/databases/sqlite3/options.mk b/databases/sqlite3/options.mk
index 11fc37c4254..ee1432965a8 100644
--- a/databases/sqlite3/options.mk
+++ b/databases/sqlite3/options.mk
@@ -1,12 +1,13 @@
-# $NetBSD: options.mk,v 1.4 2011/05/17 11:23:53 adam Exp $
+# $NetBSD: options.mk,v 1.5 2012/12/14 19:36:37 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sqlite3
PKG_SUPPORTED_OPTIONS= fts icu rtree
+PKG_SUGGESTED_OPTIONS= fts # enabled in NetBSD builtin version
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfts)
-CFLAGS+= -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1
+CFLAGS+= -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1
.endif
.if !empty(PKG_OPTIONS:Micu)