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.
31 lines
882 B
Makefile
31 lines
882 B
Makefile
# $NetBSD: Makefile,v 1.54 2014/02/04 13:28:08 adam Exp $
|
|
|
|
DISTNAME= sqlite-autoconf-3080300
|
|
PKGNAME= sqlite3-tcl-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 (TCL extension)
|
|
LICENSE= public-domain
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/tea
|
|
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
|
|
|
|
PLIST_SUBST+= TCL_TRIM_DOTS=${PKGVERSION_NOREV:S/.//g}
|
|
|
|
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.6.10
|
|
|
|
# avoid conflict with lang/tcl
|
|
post-extract:
|
|
mv ${WRKSRC}/doc/sqlite3.n ${WRKSRC}/doc/sqlite3-tcl.n
|
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|