pkgsrc/databases/sqlite/Makefile
drochner 2d29fff048 update to 2.8.17
bugfix:
That bug might possibly cause database corruption if a large
INSERT or UPDATE statement within a multi-statement transaction fails
due to a uniqueness constraint but the containing transaction commits.
2009-07-22 16:37:26 +00:00

46 lines
1.3 KiB
Makefile

# $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/
COMMENT= SQL Database Engine in a C Library
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"
.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
INSTALLATION_DIRS= ${PKGMANDIR}/man1
post-extract:
${MKDIR} ${WRKSRC}
post-install:
${INSTALL_MAN} ${WRKDIR}/sqlite-2.8.17/sqlite.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"