aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db43
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-06-26 19:13:16 +0800
committerarved <arved@FreeBSD.org>2004-06-26 19:13:16 +0800
commit0d86d79e009992c74529c73c6deaab62168f07e6 (patch)
tree34e1e3dc2382ddc97048b8f71a99dee65f008c30 /databases/db43
parent0cae90b0412c03c4954891943a665d2eef71eeb5 (diff)
downloadfreebsd-ports-gnome-0d86d79e009992c74529c73c6deaab62168f07e6.tar.gz
freebsd-ports-gnome-0d86d79e009992c74529c73c6deaab62168f07e6.tar.zst
freebsd-ports-gnome-0d86d79e009992c74529c73c6deaab62168f07e6.zip
Workaround a problem with fast-mutexes on amd64.
Idea from: db41 port. Discovered by: upcoming ice port.
Diffstat (limited to 'databases/db43')
-rw-r--r--databases/db43/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/db43/Makefile b/databases/db43/Makefile
index 05f2f08f56d6..58cf0978ff5b 100644
--- a/databases/db43/Makefile
+++ b/databases/db43/Makefile
@@ -19,4 +19,10 @@ COMMENT= The Berkeley DB package, revision 4.2
MASTERDIR?= ${.CURDIR}
.include <${MASTERDIR}/Makefile.db>
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64
+CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly
+.endif
+
+.include <bsd.port.post.mk>