From 0d86d79e009992c74529c73c6deaab62168f07e6 Mon Sep 17 00:00:00 2001 From: arved Date: Sat, 26 Jun 2004 11:13:16 +0000 Subject: Workaround a problem with fast-mutexes on amd64. Idea from: db41 port. Discovered by: upcoming ice port. --- databases/db42/Makefile | 8 +++++++- databases/db43/Makefile | 8 +++++++- databases/db44/Makefile | 8 +++++++- databases/db45/Makefile | 8 +++++++- databases/db46/Makefile | 8 +++++++- databases/db47/Makefile | 8 +++++++- 6 files changed, 42 insertions(+), 6 deletions(-) (limited to 'databases') 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 +.include + +.if ${ARCH} == amd64 +CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly +.endif + +.include 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 +.include + +.if ${ARCH} == amd64 +CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly +.endif + +.include 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 +.include + +.if ${ARCH} == amd64 +CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly +.endif + +.include 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 +.include + +.if ${ARCH} == amd64 +CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly +.endif + +.include 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 +.include + +.if ${ARCH} == amd64 +CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly +.endif + +.include 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 +.include + +.if ${ARCH} == amd64 +CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly +.endif + +.include -- cgit