5cac36a378
SQLite Release 3.32.0: Added support for approximate ANALYZE using the PRAGMA analysis_limit command. Added the bytecode virtual table. Add the checksum VFS shim to the set of run-time loadable extensions included in the source tree. Added the iif() SQL function. INSERT and UPDATE statements now always apply column affinity before computing CHECK constraints. This bug fix could, in theory, cause problems for legacy databases with unorthodox CHECK constraints the require the input type for an INSERT is different from the declared column type. See ticket 86ba67afafded936 for more information. Added the sqlite3_create_filename(), sqlite3_free_filename(), and sqlite3_database_file_object() interfaces to better support of VFS shim implementations. Increase the default upper bound on the number of parameters from 999 to 32766. Added code for the UINT collating sequence as an optional loadable extension. Enhancements to the CLI: Add options to the .import command: --csv, --ascii, --skip The .dump command now accepts multiple LIKE-pattern arguments and outputs the union of all matching tables. Add the .oom command in debugging builds Add the --bom option to the .excel, .output, and .once commands. Enhance the .filectrl command to support the --schema option. The UINT collating sequence extension is automatically loaded The ESCAPE clause of a LIKE operator now overrides wildcard characters, so that the behavior now matches what PostgreSQL does.
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2020/05/23 07:38:01 adam Exp $
|
|
|
|
.include "../../databases/sqlite3/Makefile.common"
|
|
|
|
LEMON_VERSION= 1.0
|
|
|
|
# Concatenate versions of lemon and sqlite3
|
|
# The reasoning for it is as follows:
|
|
# - currently lemon is an integral part of sqlite3
|
|
# - lemon has its own conservative versioning regardless of changes in its code
|
|
# - leave room for possible standalone lemon package with bumped versions
|
|
# - reflect reality and make it human readable without checking the sources
|
|
|
|
PKGNAME= lemon-${LEMON_VERSION}.${SQLITE3_VERSION}
|
|
DISTNAME= sqlite-src-${SQLITE3_DISTVERSION}
|
|
CATEGORIES= devel
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= airhead@users.sf.net
|
|
HOMEPAGE= https://www.hwaci.com/sw/lemon/
|
|
COMMENT= Simple LALR(1) parser generator
|
|
|
|
CHECK_PORTABILITY_SKIP= configure
|
|
INSTALLATION_DIRS= bin share/lemon share/doc/lemon
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= tool/lemon.c
|
|
SUBST_SED.paths+= -e 's,"lempar.c","${PREFIX}/share/lemon/lempar.c",g'
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/tool && ${CC} ${CFLAGS} ${LDFLAGS} lemon.c -o lemon
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tool/lemon ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/tool/lempar.c ${DESTDIR}${PREFIX}/share/lemon
|
|
${INSTALL_DATA} ${WRKSRC}/doc/lemon.html ${DESTDIR}${PREFIX}/share/doc/lemon
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|