diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-06-26 11:13:16 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-06-26 11:13:16 +0000 |
commit | 92469f652fbb864521c8d83f24169e8257bbbf8f (patch) | |
tree | 081fefb35bd608a368557bbb4afcf13fd8f9d405 /databases/db46 | |
parent | 6ec433030a45fc033e1c5a4c1278cacbf9411957 (diff) | |
download | ports-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/db46')
-rw-r--r-- | databases/db46/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/db46/Makefile b/databases/db46/Makefile index 05f2f08f56d6..58cf0978ff5b 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> |