summaryrefslogtreecommitdiff
path: root/databases/db41
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-04-16 10:18:13 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-04-16 10:18:13 +0000
commitb6adcb2390d1f928b21dd97df57305fdd8740a9e (patch)
tree9ad839cec27553f67d458569a04a46a13d031ffd /databases/db41
parentInstall a shared version of libXau and libXRes. (diff)
Workaround a problem with fast-mutexes on amd64
Reported by: tjr PR: 64886 Investigative work by: perky Workaround suggested by: maintainer
Notes
Notes: svn path=/head/; revision=107212
Diffstat (limited to 'databases/db41')
-rw-r--r--databases/db41/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/databases/db41/Makefile b/databases/db41/Makefile
index 0cf2516d0ee6..4c564bbcf0c9 100644
--- a/databases/db41/Makefile
+++ b/databases/db41/Makefile
@@ -7,7 +7,7 @@
PORTNAME= db41
PORTVERSION= 4.1.25
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
PKGNAMESUFFIX?=
@@ -36,8 +36,14 @@ INSTALLS_SHLIB= yes
INSTALL_TARGET= install install_docs
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64
+CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly
+.endif
+
post-patch:
@${REINPLACE_CMD} -Ee \
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>