pkgsrc/databases/db3/Makefile
lukem 39f7310ad5 * Apply two patches from the master distribution site;
3.2.9.1	Fix a bug where running recovery on a database environment
		containing only logs from a previous release of Berkeley DB,
		in which log.0000000001 doesn't exist, could fail.
    3.2.9.2	Fix a bug where opening too many files causes a core dump.

* Use ${BSD_INSTALL_*} instead of cp, so that bin/db3_* and include/db3/*
  get installed with the correct ownership

* Crank version from 2.9 to 2.9.2
2001-10-23 07:26:41 +00:00

32 lines
885 B
Makefile

# $NetBSD: Makefile,v 1.8 2001/10/23 07:26:41 lukem Exp $
DISTNAME= db-3.2.9
PKGNAME= db3-2.9.2
CATEGORIES= databases
MASTER_SITES= http://www.sleepycat.com/update/3.2.9/
MAINTAINER= wrstuden@netbsd.org
HOMEPAGE= http://www.sleepycat.com/
COMMENT= Sleepycat Software's Berkeley DB version 3
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= patch.3.2.9.1 patch.3.2.9.2
PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet
USE_BUILDLINK_ONLY= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKDIR}/${DISTNAME}/dist/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
CONFIGURE_ARGS+= --program-transform-name=s,db_,db3_,
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db3
CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --enable-shared
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
post-install:
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/doc/db3
.include "../../mk/bsd.pkg.mk"