aboutsummaryrefslogtreecommitdiff
path: root/databases/db47
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-06-26 11:13:16 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-06-26 11:13:16 +0000
commit92469f652fbb864521c8d83f24169e8257bbbf8f (patch)
tree081fefb35bd608a368557bbb4afcf13fd8f9d405 /databases/db47
parent6ec433030a45fc033e1c5a4c1278cacbf9411957 (diff)
downloadports-92469f652fbb864521c8d83f24169e8257bbbf8f.tar.gz
ports-92469f652fbb864521c8d83f24169e8257bbbf8f.zip
Workaround a problem with fast-mutexes on amd64.
Idea from: db41 port. Discovered by: upcoming ice port.
Notes
Notes: svn path=/head/; revision=112313
Diffstat (limited to 'databases/db47')
-rw-r--r--databases/db47/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/db47/Makefile b/databases/db47/Makefile
index 05f2f08f56d6..58cf0978ff5b 100644
--- a/databases/db47/Makefile
+++ b/databases/db47/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>