summaryrefslogtreecommitdiff
path: root/databases/sqlite3
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-07-12 10:54:55 +0000
committertnn <tnn@pkgsrc.org>2010-07-12 10:54:55 +0000
commit4b37bd789ae66c67a6af090bd31101391559c57f (patch)
tree4eed65ef8d1ce4fa7f263ae381d6a9ae2e462df1 /databases/sqlite3
parentb1bb4a162f17f095622bc90bf4c45bfb8103507c (diff)
downloadpkgsrc-4b37bd789ae66c67a6af090bd31101391559c57f.tar.gz
Include the sqlite3_unlock_notify() API in the build.
Bump PKGREVISON.
Diffstat (limited to 'databases/sqlite3')
-rw-r--r--databases/sqlite3/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 63e57b655f6..ff93e444997 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2010/06/17 13:45:36 obache Exp $
+# $NetBSD: Makefile,v 1.29 2010/07/12 10:54:55 tnn Exp $
DISTNAME= sqlite-amalgamation-3.6.23.1
PKGNAME= ${DISTNAME:S/sqlite-amalgamation/sqlite3/}
+PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \
http://www.sqlite.org/
@@ -30,6 +31,10 @@ CONFIGURE_ARGS+= --with-readline-inc= --enable-threadsafe
CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0
.endif
+# This define includes the sqlite3_unlock_notify() API in the build.
+# It is required by Firefox 4.x.
+CFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
+
# Uses dlopen and friends but doesn't use -ldl on Linux.
# See http://www.sqlite.org/cvstrac/tktview?tn=3555
LIBS+= ${BUILDLINK_LDADD.dl}