pkgsrc/databases/sqlite/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.41 2009/07/22 16:37:26 drochner Exp $
DISTNAME= sqlite-2.8.17
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \
http://www.sqlite.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hwaci.com/sw/sqlite/
Update to sqlite-2.8.13. Closes PR pkg/24660. FreeBSD 4 portability hint from Michal Pasternak. Some of the changes since 2.8.5 include: * Refactor parts of the code in order to make the code footprint smaller. The code is now also a little bit faster. * The built-in min() and max() functions now honor the difference between NUMERIC and TEXT datatypes. * New HH:MM:SS modifier to the built-in date/time functions. * Add function prototypes for the database encryption API. * Fix a bug that might corrupt the rollback journal if a power failure or external program halt occurs in the middle of a COMMIT. * Reduce the size and increase the speed of various modules. * Fix a potential database corruption problem on Unix. * Fix a 32-bit integer overflow problem that could result in corrupt indices in a database if large negative numbers (less than -2147483648) were inserted into a indexed numeric column. * Fix a locking problem on multi-threaded Linux implementations. * Fix a critical bug introduced in 2.8.0 which could cause database corruption. * The VACUUM command now works with the non-callback API * If the name of the database is an empty string, open a new database in a temporary file that is automatically deleted when the database is closed. * Performance enhancements in the lemon-generated parser * Documentation updates and typo fixes * Removed support for the Oracle8 outer join syntax. * Allow GLOB and LIKE operators to work as functions. * Make sure the journal file directory entry is committed to disk before writing the database file.
2004-03-31 07:50:17 +02:00
COMMENT= SQL Database Engine in a C Library
2009-06-08 22:06:01 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/sqlite-build
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../sqlite-2.8.17/configure
CONFIGURE_ARGS+= --without-tcl
CONFIGURE_ENV+= config_TARGET_READLINE_INC="-I${BUILDLINK_PREFIX.readline}/include"
CONFIG_GUESS_OVERRIDE= ../sqlite-2.8.17/config.guess
CONFIG_SUB_OVERRIDE= ../sqlite-2.8.17/config.sub
.include "../../mk/bsd.prefs.mk"
2009-01-20 18:57:36 +01:00
.if (${OPSYS} == "SunOS")
CFLAGS+= -DUINT32_TYPE=uint32_t -DUINT16_TYPE=uint16_t \
-DUINT8_TYPE=uint8_t -DINTPTR_TYPE=long
.else
CFLAGS+= -DUINT32_TYPE=u_int32_t -DUINT16_TYPE=u_int16_t \
-DUINT8_TYPE=u_int8_t -DINTPTR_TYPE=long
.endif
PKGCONFIG_OVERRIDE= ${WRKDIR}/sqlite-2.8.17/sqlite.pc.in
2009-06-08 22:06:01 +02:00
INSTALLATION_DIRS= ${PKGMANDIR}/man1
post-extract:
${MKDIR} ${WRKSRC}
2004-06-30 10:37:11 +02:00
post-install:
${INSTALL_MAN} ${WRKDIR}/sqlite-2.8.17/sqlite.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
2004-06-30 10:37:11 +02:00
Update to sqlite-2.8.13. Closes PR pkg/24660. FreeBSD 4 portability hint from Michal Pasternak. Some of the changes since 2.8.5 include: * Refactor parts of the code in order to make the code footprint smaller. The code is now also a little bit faster. * The built-in min() and max() functions now honor the difference between NUMERIC and TEXT datatypes. * New HH:MM:SS modifier to the built-in date/time functions. * Add function prototypes for the database encryption API. * Fix a bug that might corrupt the rollback journal if a power failure or external program halt occurs in the middle of a COMMIT. * Reduce the size and increase the speed of various modules. * Fix a potential database corruption problem on Unix. * Fix a 32-bit integer overflow problem that could result in corrupt indices in a database if large negative numbers (less than -2147483648) were inserted into a indexed numeric column. * Fix a locking problem on multi-threaded Linux implementations. * Fix a critical bug introduced in 2.8.0 which could cause database corruption. * The VACUUM command now works with the non-callback API * If the name of the database is an empty string, open a new database in a temporary file that is automatically deleted when the database is closed. * Performance enhancements in the lemon-generated parser * Documentation updates and typo fixes * Removed support for the Oracle8 outer join syntax. * Allow GLOB and LIKE operators to work as functions. * Make sure the journal file directory entry is committed to disk before writing the database file.
2004-03-31 07:50:17 +02:00
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"