aboutsummaryrefslogtreecommitdiff
path: root/databases/db5/Makefile
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2016-11-04 00:09:51 +0000
committerMatthias Andree <mandree@FreeBSD.org>2016-11-04 00:09:51 +0000
commitc643da1f1b8aff502326eefc1c8d2a6c48137fac (patch)
treed791e70b1add954b6665a02c5c649f7e6877f61f /databases/db5/Makefile
parent9201343d790eb7a3c1ccc0d06c449938a1e4e471 (diff)
downloadports-c643da1f1b8aff502326eefc1c8d2a6c48137fac.tar.gz
ports-c643da1f1b8aff502326eefc1c8d2a6c48137fac.zip
Notes
Diffstat (limited to 'databases/db5/Makefile')
-rw-r--r--databases/db5/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/db5/Makefile b/databases/db5/Makefile
index 1cd700569e22..7098938a6289 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: