diff options
author | arved <arved@FreeBSD.org> | 2004-04-16 18:18:13 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-04-16 18:18:13 +0800 |
commit | ee060c14df4e7c8867aa7e3cf8a1017c6284c430 (patch) | |
tree | 75ea838b820c64639f5bbe3d9a738aaf1947b483 /databases | |
parent | a868ec75eda806f21ab19098acc4788e064fa7ba (diff) | |
download | freebsd-ports-gnome-ee060c14df4e7c8867aa7e3cf8a1017c6284c430.tar.gz freebsd-ports-gnome-ee060c14df4e7c8867aa7e3cf8a1017c6284c430.tar.zst freebsd-ports-gnome-ee060c14df4e7c8867aa7e3cf8a1017c6284c430.zip |
Workaround a problem with fast-mutexes on amd64
Reported by: tjr
PR: 64886
Investigative work by: perky
Workaround suggested by: maintainer
Diffstat (limited to 'databases')
-rw-r--r-- | databases/db41/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/databases/db41/Makefile b/databases/db41/Makefile index 0cf2516d0ee6..4c564bbcf0c9 100644 --- a/databases/db41/Makefile +++ b/databases/db41/Makefile @@ -7,7 +7,7 @@ PORTNAME= db41 PORTVERSION= 4.1.25 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://www.sleepycat.com/update/snapshot/ PKGNAMESUFFIX?= @@ -36,8 +36,14 @@ INSTALLS_SHLIB= yes INSTALL_TARGET= install install_docs .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} == amd64 +CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly +.endif + post-patch: @${REINPLACE_CMD} -Ee \ 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |