diff options
author | mandree <mandree@FreeBSD.org> | 2016-11-04 00:09:51 +0000 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2016-11-04 00:09:51 +0000 |
commit | 3ae3f60a0e5dfea558f226a96fbfc7885703a872 (patch) | |
tree | d791e70b1add954b6665a02c5c649f7e6877f61f | |
parent | ae27489bb3400c476ef376a011b8aca01388916c (diff) | |
download | FreeBSD-ports-3ae3f60a0e5dfea558f226a96fbfc7885703a872.zip FreeBSD-ports-3ae3f60a0e5dfea558f226a96fbfc7885703a872.tar.gz |
Force pthreads mutexes on 11+ and aarch64/ARMV6
This currently leaves ARMv6 and aarch64 on FreeBSD 9.x and 10.x out in
the rain because these will still autoconfigure to only permit private
mutexes.
PR: 213167
Submitted by: jbeich (IRC)
-rw-r--r-- | databases/db5/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/db5/Makefile b/databases/db5/Makefile index 1cd7005..7098938 100644 --- a/databases/db5/Makefile +++ b/databases/db5/Makefile @@ -3,7 +3,7 @@ PORTNAME= db5 PORTVERSION= 5.3.28 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases java MASTER_SITES= http://download.oracle.com/berkeley-db/ PKGNAMEPREFIX?= @@ -73,6 +73,11 @@ DOCS_INSTALL_TARGET= install_docs # db5 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227 # and also bug#205001 CONFIGURE_ARGS+= --enable-posixmutexes +. if ${OSVERSION} > 1100100 +# ^ leave that as ">" it really is greater than but NOT equal +# force POSIX mutexes - the OS supports PTHREAD_PROCESS_SHARED +CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads +. endif .endif post-patch: |