2008-06-09 07:59:35 +02:00
|
|
|
# New ports collection makefile for: db47
|
|
|
|
# Date created: 2008-06-23
|
2007-07-31 11:18:11 +02:00
|
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
1997-06-13 19:54:36 +02:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1997-06-13 19:54:36 +02:00
|
|
|
#
|
|
|
|
|
2008-06-09 07:59:35 +02:00
|
|
|
PORTNAME= db47
|
2009-05-27 04:19:58 +02:00
|
|
|
PORTVERSION= 4.7.25.4
|
1997-06-13 19:54:36 +02:00
|
|
|
CATEGORIES= databases
|
2006-11-08 16:43:20 +01:00
|
|
|
MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
|
|
|
|
http://download-east.oracle.com/berkeley-db/ \
|
2006-11-08 06:26:36 +01:00
|
|
|
http://download-uk.oracle.com/berkeley-db/
|
2007-07-31 11:18:11 +02:00
|
|
|
PKGNAMEPREFIX?=
|
|
|
|
DISTNAME= db-${PORTVERSION:R}
|
2004-12-28 23:02:11 +01:00
|
|
|
DIST_SUBDIR= bdb
|
2003-02-16 06:54:21 +01:00
|
|
|
|
2008-10-08 11:41:43 +02:00
|
|
|
PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/${PORTVERSION:R}/
|
2009-03-23 20:10:13 +01:00
|
|
|
PATCHFILES= patch.4.7.25.1 patch.4.7.25.2 patch.4.7.25.3
|
2008-10-08 11:41:43 +02:00
|
|
|
PATCH_DIST_STRIP= -d .. --ignore-whitespace
|
|
|
|
# * patch.4.7.25.1: -----------------------------------------------------------
|
|
|
|
# # [#16406] Replication clients should be able to open a sequence.
|
2008-12-15 19:15:24 +01:00
|
|
|
# * patch.4.7.25.2: -----------------------------------------------------------
|
|
|
|
# # [#16415] DB_ENV->lock_get may self deadlock if user defined locks
|
2009-03-23 16:36:21 +01:00
|
|
|
# are used and there is only one lock partition defined.
|
2009-03-23 20:10:13 +01:00
|
|
|
# * patch.4.7.25.3: -----------------------------------------------------------
|
|
|
|
# # [#16541] Fix for dd segfaults.
|
2009-05-27 04:19:58 +02:00
|
|
|
# * patch.4.7.25.4: -----------------------------------------------------------
|
|
|
|
# # [#16299] Fix a bug which could cause a SEGV in __repmgr_available_site if a
|
|
|
|
# site becomes master after winning an election but is still
|
|
|
|
# processing client messages.
|
2008-10-08 11:41:43 +02:00
|
|
|
|
2007-07-31 11:18:11 +02:00
|
|
|
# I allow matthias.andree@gmx.de and all freebsd committer to do changes
|
|
|
|
# to this package.
|
2008-05-22 14:06:46 +02:00
|
|
|
|
2007-07-31 11:18:11 +02:00
|
|
|
MAINTAINER= gslin@gslin.org
|
2008-06-09 07:59:35 +02:00
|
|
|
COMMENT= The Berkeley DB package, revision 4.7
|
2007-07-31 11:18:11 +02: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 16:36:21 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-07-31 11:18:11 +02:00
|
|
|
INSTALL_TARGET= install_include install_lib install_utilities
|
|
|
|
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
|
2004-12-28 23:02:11 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
2007-07-31 11:18:11 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-03-03 12:21:33 +01:00
|
|
|
|
2004-12-28 23:02:11 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
2007-07-31 11:18:11 +02:00
|
|
|
PORTDOCS= *
|
2004-12-28 23:02:11 +01: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 13:13:16 +02:00
|
|
|
|
2005-11-25 21:45:27 +01:00
|
|
|
.include <bsd.port.mk>
|