2007-08-06 09:17:54 +00:00
|
|
|
# New ports collection makefile for: db46
|
|
|
|
# Date created: 2007-07-26
|
2007-07-31 09:18:11 +00:00
|
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
1997-06-13 17:54:36 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-06-13 17:54:36 +00:00
|
|
|
#
|
|
|
|
|
2007-08-06 09:17:54 +00:00
|
|
|
PORTNAME= db46
|
2009-03-23 17:38:25 +00:00
|
|
|
PORTVERSION= 4.6.21.4
|
1997-06-13 17:54:36 +00:00
|
|
|
CATEGORIES= databases
|
2006-11-08 15:43:20 +00:00
|
|
|
MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
|
|
|
|
http://download-east.oracle.com/berkeley-db/ \
|
2006-11-08 05:26:36 +00:00
|
|
|
http://download-uk.oracle.com/berkeley-db/
|
2007-07-31 09:18:11 +00:00
|
|
|
PKGNAMEPREFIX?=
|
|
|
|
DISTNAME= db-${PORTVERSION:R}
|
2004-12-28 22:02:11 +00:00
|
|
|
DIST_SUBDIR= bdb
|
2003-02-16 05:54:21 +00:00
|
|
|
|
2008-05-22 12:06:46 +00:00
|
|
|
PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/${PORTVERSION:R}/
|
2009-03-23 17:38:25 +00:00
|
|
|
PATCHFILES= patch.4.6.21.1 patch.4.6.21.2 patch.4.6.21.3 patch.4.6.21.4
|
2009-02-02 05:03:25 +00:00
|
|
|
PATCH_DIST_STRIP= -d .. -l
|
2008-03-31 07:51:04 +00:00
|
|
|
# * patch.4.6.21.1: -----------------------------------------------------------
|
|
|
|
# Fixes a race condition between checkpoint and DB->close which can result in
|
|
|
|
# the checkpoint thread self-deadlocking. [#15692]
|
2009-02-02 05:03:25 +00:00
|
|
|
# * 4.6.21.2: -----------------------------------------------------------------
|
|
|
|
# Fixes the potential for the wrong number of mutexes to be allocated. This
|
|
|
|
# issue could cause applications with multiple cache regions to see undefined
|
|
|
|
# behavior in rare cases under load. [#16178]
|
|
|
|
# * 4.6.21.3: -----------------------------------------------------------------
|
|
|
|
# Replication clients should be able to open a sequence. [#16406]
|
2009-03-23 17:38:25 +00:00
|
|
|
# * 4.6.21.4: -----------------------------------------------------------------
|
|
|
|
# Fixes a bug which could lead to slow performance of internal init under
|
|
|
|
# Replication Manager, as evidenced by "queue limit exceeded" messages in
|
|
|
|
# verbose replication diagnostic output. [#15788]
|
2008-03-31 07:51:04 +00:00
|
|
|
|
2007-07-31 09:18:11 +00:00
|
|
|
# I allow matthias.andree@gmx.de and all freebsd committer to do changes
|
|
|
|
# to this package.
|
2008-05-22 12:06:46 +00:00
|
|
|
|
2007-07-31 09:18:11 +00:00
|
|
|
MAINTAINER= gslin@gslin.org
|
2007-08-06 09:17:54 +00:00
|
|
|
COMMENT= The Berkeley DB package, revision 4.6
|
2007-07-31 09:18:11 +00:00
|
|
|
|
|
|
|
BDBVER= ${PORTVERSION:R:R}
|
|
|
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 --enable-cxx \
|
|
|
|
--enable-dynamic --enable-rpc --enable-pthread_api \
|
|
|
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
|
|
|
--libdir=${PREFIX}/lib/${PORTNAME} \
|
|
|
|
--bindir=${PREFIX}/bin/${PORTNAME}
|
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
|
|
|
GNU_CONFIGURE= yes
|
2009-03-23 15:36:21 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-07-31 09:18:11 +00:00
|
|
|
INSTALL_TARGET= install_include install_lib install_utilities
|
|
|
|
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
|
2004-12-28 22:02:11 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
2007-07-31 09:18:11 +00:00
|
|
|
USE_LDCONFIG= yes
|
2004-03-03 11:21:33 +00:00
|
|
|
|
2004-12-28 22:02:11 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
2007-07-31 09:18:11 +00:00
|
|
|
PORTDOCS= *
|
2004-12-28 22:02:11 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for i in libdb libdb_cxx
|
|
|
|
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
|
|
|
|
${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
|
|
|
|
.endfor
|
|
|
|
cd ${PREFIX}/bin/${PORTNAME} ; \
|
|
|
|
for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
|
2004-06-26 11:13:16 +00:00
|
|
|
|
2005-11-25 20:45:27 +00:00
|
|
|
.include <bsd.port.mk>
|