2001-12-24 10:45:47 +00:00
|
|
|
# ports collection makefile for: Berkeley DB v4
|
2003-01-07 01:06:07 +00:00
|
|
|
# Date created: 2003-01-04
|
|
|
|
# Whom: Matthias Andree <matthias.andree@web.de>
|
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
|
|
|
#
|
|
|
|
|
2003-01-07 01:06:07 +00:00
|
|
|
PORTNAME= db41
|
|
|
|
PORTVERSION= 4.1.25
|
2006-11-08 05:18:16 +00:00
|
|
|
PORTREVISION= 4
|
1997-06-13 17:54:36 +00:00
|
|
|
CATEGORIES= databases
|
2006-11-08 05:18:16 +00:00
|
|
|
MASTER_SITES= http://download-east.oracle.com/berkeley-db/ \
|
|
|
|
http://download-west.oracle.com/berkeley-db/ \
|
|
|
|
http://download-uk.oracle.com/berkeley-db/
|
2003-02-16 05:54:21 +00:00
|
|
|
PKGNAMESUFFIX?=
|
|
|
|
DISTNAME?= db-${PORTVERSION}
|
2001-07-24 16:19:23 +00:00
|
|
|
DIST_SUBDIR= bdb
|
2003-02-16 05:54:21 +00:00
|
|
|
|
2006-11-08 05:18:16 +00:00
|
|
|
PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/${PORTVERSION}/
|
|
|
|
PATCHFILES= patch.${PORTVERSION}.1 patch.${PORTVERSION}.2 patch.${PORTVERSION}.3
|
2004-05-05 19:48:28 +00:00
|
|
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
2001-12-24 10:45:47 +00:00
|
|
|
|
2003-01-05 04:11:23 +00:00
|
|
|
MAINTAINER= matthias.andree@gmx.de
|
2003-02-21 11:15:57 +00:00
|
|
|
COMMENT= The Berkeley DB package, revision 4.1
|
2002-11-20 13:15:12 +00:00
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
1997-06-13 17:54:36 +00:00
|
|
|
|
2002-11-20 13:15:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1997-06-13 17:54:36 +00:00
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
2003-01-03 20:19:07 +00:00
|
|
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
2002-11-20 13:15:12 +00:00
|
|
|
--enable-cxx --enable-dynamic \
|
2003-01-07 01:06:07 +00:00
|
|
|
--includedir=${PREFIX}/include/db41
|
2006-11-08 05:18:16 +00:00
|
|
|
USE_LDCONFIG= yes
|
2000-09-22 16:48:51 +00:00
|
|
|
|
2002-11-20 13:15:12 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET= install install_docs
|
2004-05-05 19:48:28 +00:00
|
|
|
PORTDOCS= *
|
2002-11-20 13:15:12 +00:00
|
|
|
.endif
|
2001-08-01 11:51:53 +00:00
|
|
|
|
2004-04-16 10:18:13 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == amd64
|
|
|
|
CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly
|
|
|
|
.endif
|
|
|
|
|
2001-01-03 19:55:30 +00:00
|
|
|
post-patch:
|
2003-09-08 14:20:15 +00:00
|
|
|
@${REINPLACE_CMD} -Ee \
|
|
|
|
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2001-01-03 19:55:30 +00:00
|
|
|
|
2004-04-16 10:18:13 +00:00
|
|
|
.include <bsd.port.post.mk>
|