svn commit: r401088 - in head/databases: db48 db5 db6

Andrew Turner andrew at FreeBSD.org
Mon Nov 9 09:29:09 UTC 2015


Author: andrew (src committer)
Date: Mon Nov  9 09:29:07 2015
New Revision: 401088
URL: https://svnweb.freebsd.org/changeset/ports/401088

Log:
  As with armv6 we need to use POSIX mutexes. Without this the ports try to
  use fcntl mutexes and fails as they are deprecated.
  
  Approved by:	mandree (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D4107

Modified:
  head/databases/db48/Makefile
  head/databases/db5/Makefile
  head/databases/db6/Makefile

Modified: head/databases/db48/Makefile
==============================================================================
--- head/databases/db48/Makefile	Mon Nov  9 09:18:22 2015	(r401087)
+++ head/databases/db48/Makefile	Mon Nov  9 09:29:07 2015	(r401088)
@@ -35,7 +35,7 @@ USE_LDCONFIG=	yes
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "armv6"
+.if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
 # db48 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
 CONFIGURE_ARGS+=	--enable-posixmutexes
 .endif

Modified: head/databases/db5/Makefile
==============================================================================
--- head/databases/db5/Makefile	Mon Nov  9 09:18:22 2015	(r401087)
+++ head/databases/db5/Makefile	Mon Nov  9 09:29:07 2015	(r401088)
@@ -39,7 +39,7 @@ SQL_DESC=	Enable SQL API (EXPERIMENTAL)
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "armv6"
+.if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
 # db5 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
 CONFIGURE_ARGS+=	--enable-posixmutexes
 .endif

Modified: head/databases/db6/Makefile
==============================================================================
--- head/databases/db6/Makefile	Mon Nov  9 09:18:22 2015	(r401087)
+++ head/databases/db6/Makefile	Mon Nov  9 09:29:07 2015	(r401088)
@@ -40,7 +40,7 @@ SQL_DESC=	Enable SQL API (EXPERIMENTAL)
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "armv6"
+.if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
 # db6 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
 CONFIGURE_ARGS+=	--enable-posixmutexes
 .endif


More information about the svn-ports-all mailing list