summaryrefslogtreecommitdiffstats
path: root/databases/db46
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-06-26 11:13:16 +0000
committerarved <arved@FreeBSD.org>2004-06-26 11:13:16 +0000
commit0d86d79e009992c74529c73c6deaab62168f07e6 (patch)
tree34e1e3dc2382ddc97048b8f71a99dee65f008c30 /databases/db46
parent0cae90b0412c03c4954891943a665d2eef71eeb5 (diff)
downloadFreeBSD-ports-0d86d79e009992c74529c73c6deaab62168f07e6.zip
FreeBSD-ports-0d86d79e009992c74529c73c6deaab62168f07e6.tar.gz
Workaround a problem with fast-mutexes on amd64.
Idea from: db41 port. Discovered by: upcoming ice port.
Diffstat (limited to 'databases/db46')
-rw-r--r--databases/db46/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/db46/Makefile b/databases/db46/Makefile
index 05f2f08..58cf097 100644
--- a/databases/db46/Makefile
+++ b/databases/db46/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>
OpenPOWER on IntegriCloud