diff options
-rw-r--r-- | databases/db42/Makefile | 8 | ||||
-rw-r--r-- | databases/db43/Makefile | 8 | ||||
-rw-r--r-- | databases/db44/Makefile | 8 | ||||
-rw-r--r-- | databases/db45/Makefile | 8 | ||||
-rw-r--r-- | databases/db46/Makefile | 8 | ||||
-rw-r--r-- | databases/db47/Makefile | 8 |
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> |