213f13acd9
Added support for common table expressions and the WITH clause. Added the printf() SQL function. Added SQLITE_DETERMINISTIC as an optional bit in the 4th argument to the sqlite3_create_function() and related interfaces, providing applications with the ability to create new functions that can be factored out of inner loops when they have constant arguments. Add SQLITE_READONLY_DBMOVED error code, returned at the beginning of a transaction, to indicate that the underlying database file has been renamed or moved out from under SQLite. Allow arbitrary expressions, including function calls and subqueries, in the filename argument to ATTACH. Allow a VALUES clause to be used anywhere a SELECT statement is valid. Reseed the PRNG used by sqlite3_randomness(N,P) when invoked with N==0. Automatically reseed after a fork() on unix. Enhance the spellfix1 virtual table so that it can search efficiently by rowid. Performance enhancements. Improvements to the comments in the VDBE byte-code display when running EXPLAIN. Add the "%token_class" directive to LEMON parser generator and use it to simplify the grammar. Change the LEMON source code to avoid calling C-library functions that OpenBSD considers dangerous. (Ex: sprintf). Bug fix: In the command-line shell CSV import feature, do not end a field when an escaped double-quote occurs at the end of a CRLN line.
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.72 2014/02/04 13:28:07 adam Exp $
|
|
|
|
DISTNAME= sqlite-autoconf-3080300
|
|
PKGNAME= sqlite3-3.8.3
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.hwaci.com/sw/sqlite/2014/ \
|
|
http://www.sqlite.org/2014/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.sqlite.org/
|
|
COMMENT= SQL Database Engine in a C Library
|
|
LICENSE= public-domain
|
|
|
|
.include "options.mk"
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
PKGCONFIG_OVERRIDE+= sqlite3.pc.in
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# In the past, Linux had database corruption issues with pread, so
|
|
# only enable it on safe platforms.
|
|
CFLAGS.NetBSD+= -DUSE_PREAD
|
|
|
|
# Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
|
|
.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
|
|
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
|
|
# 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
|
|
LIBS+= ${BUILDLINK_LDADD.dl}
|
|
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|