Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2016 19:57:03 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413084 - head/databases/db48
Message-ID:  <201604111957.u3BJv3Eb079317@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Apr 11 19:57:03 2016
New Revision: 413084
URL: https://svnweb.freebsd.org/changeset/ports/413084

Log:
  Fix build with libc++ 3.8
  
  PR:		208488
  Submitted by:	dim
  With hat:	portmgr

Modified:
  head/databases/db48/Makefile

Modified: head/databases/db48/Makefile
==============================================================================
--- head/databases/db48/Makefile	Mon Apr 11 19:06:05 2016	(r413083)
+++ head/databases/db48/Makefile	Mon Apr 11 19:57:03 2016	(r413084)
@@ -35,10 +35,6 @@ USE_LDCONFIG=	yes
 
 .include <bsd.port.options.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100101
-IGNORE=		db48 is not supported on FreeBSD 11+ with clang 3.8 - upgrade to db5
-.endif
-
 .if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
 # db48 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
 CONFIGURE_ARGS+=	--enable-posixmutexes
@@ -46,6 +42,7 @@ CONFIGURE_ARGS+=	--enable-posixmutexes
 
 post-patch:
 	${REINPLACE_CMD} -Ee 's|--mode=install cp -p|--mode=install ${INSTALL} -s|;' ${WRKSRC}/${CONFIGURE_SCRIPT}
+	${REINPLACE_CMD} -Ee 's/[[:<:]]atomic_init[[:>:]]/db_atomic_init/g' ${WRKSRC}/../dbinc/atomic.h ${WRKSRC}/../mp/mp_*.c ${WRKSRC}/../mutex/mut_*.c
 
 post-install:
 .for i in libdb libdb_cxx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604111957.u3BJv3Eb079317>