diff options
author | rillig <rillig> | 2007-11-15 14:11:53 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-15 14:11:53 +0000 |
commit | 9736be530ef6ed9b1c87480d0bb4a345f50eb2ee (patch) | |
tree | 7d948ec8be2c52d449ec321ee1e3620f3e4c9b9f /databases/sqlite3/Makefile.common | |
parent | 8a752f0cff1b882f4d5d298de471a6ec4be3e928 (diff) | |
download | pkgsrc-9736be530ef6ed9b1c87480d0bb4a345f50eb2ee.tar.gz |
The new thread-safe feature doesn't really work: The py-sqlite2
self-test fails with a segmentation fault.
Diffstat (limited to 'databases/sqlite3/Makefile.common')
-rw-r--r-- | databases/sqlite3/Makefile.common | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/sqlite3/Makefile.common b/databases/sqlite3/Makefile.common index b9b8738fb12..cc22695ea04 100644 --- a/databases/sqlite3/Makefile.common +++ b/databases/sqlite3/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.16 2007/11/15 10:39:18 rillig Exp $ +# $NetBSD: Makefile.common,v 1.17 2007/11/15 14:11:53 rillig Exp $ DISTNAME= sqlite-3.5.2 PKGNAME= ${DISTNAME:S/-/3-/} @@ -17,4 +17,11 @@ GNU_CONFIGURE= yes USE_TOOLS+= gmake USE_LIBTOOL= yes +# XXX: This option has been added for backwards compatibility after +# updating to 3.5.2. Without it, py-sqlite2 crashes when trying to +# access the mutex. The effect of this option is that multiple threads +# may not use a _common_ database connection. They may access the +# database through different database connections, though. +CONFIGURE_ARGS+= --disable-threadsafe + PKGCONFIG_OVERRIDE= sqlite3.pc.in |