aboutsummaryrefslogtreecommitdiffstats
path: root/databases
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
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')
-rw-r--r--databases/db42/Makefile8
-rw-r--r--databases/db43/Makefile8
-rw-r--r--databases/db44/Makefile8
-rw-r--r--databases/db45/Makefile8
-rw-r--r--databases/db46/Makefile8
-rw-r--r--databases/db47/Makefile8
6 files changed, 42 insertions, 6 deletions
diff --git a/databases/db42/Makefile b/databases/db42/Makefile
index 05f2f08f56d6..58cf0978ff5b 100644
--- a/databases/db42/Makefile
+++ b/databases/db42/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>
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>
diff --git a/databases/db44/Makefile b/databases/db44/Makefile
index 05f2f08f56d6..58cf0978ff5b 100644
--- a/databases/db44/Makefile
+++ b/databases/db44/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>
diff --git a/databases/db45/Makefile b/databases/db45/Makefile
index 05f2f08f56d6..58cf0978ff5b 100644
--- a/databases/db45/Makefile
+++ b/databases/db45/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>
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>
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>