Date: Fri, 4 Nov 2016 00:09:52 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425280 - head/databases/db5 Message-ID: <201611040009.uA409qwT032958@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mandree Date: Fri Nov 4 00:09:51 2016 New Revision: 425280 URL: https://svnweb.freebsd.org/changeset/ports/425280 Log: 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) Modified: head/databases/db5/Makefile Modified: head/databases/db5/Makefile ============================================================================== --- head/databases/db5/Makefile Thu Nov 3 23:58:33 2016 (r425279) +++ head/databases/db5/Makefile Fri Nov 4 00:09:51 2016 (r425280) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611040009.uA409qwT032958>