From owner-svn-ports-head@freebsd.org Sun Apr 17 20:51:23 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B652B1196E; Sun, 17 Apr 2016 20:51:23 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D93051CD3; Sun, 17 Apr 2016 20:51:22 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3HKpMuB066372; Sun, 17 Apr 2016 20:51:22 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3HKpMtK066371; Sun, 17 Apr 2016 20:51:22 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201604172051.u3HKpMtK066371@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sun, 17 Apr 2016 20:51:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413541 - head/databases/db48 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 20:51:23 -0000 Author: bapt Date: Sun Apr 17 20:51:21 2016 New Revision: 413541 URL: https://svnweb.freebsd.org/changeset/ports/413541 Log: Fix build with libc++ 3.8 PR: 208488 Submitted by: dim Modified: head/databases/db48/Makefile Modified: head/databases/db48/Makefile ============================================================================== --- head/databases/db48/Makefile Sun Apr 17 20:07:36 2016 (r413540) +++ head/databases/db48/Makefile Sun Apr 17 20:51:21 2016 (r413541) @@ -34,10 +34,6 @@ USE_LDCONFIG= yes .include -.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 @@ -45,6 +41,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