aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db48
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-04-12 03:57:03 +0800
committerbapt <bapt@FreeBSD.org>2016-04-12 03:57:03 +0800
commit869482669bf9b3837798455d46ef348f94f92d69 (patch)
tree0afd3ce057f916100d2171f12cdcdc4c50bfd85b /databases/db48
parentde9bdd924f6a4e6a55f1d0978e279c0530b2f60e (diff)
downloadfreebsd-ports-gnome-869482669bf9b3837798455d46ef348f94f92d69.tar.gz
freebsd-ports-gnome-869482669bf9b3837798455d46ef348f94f92d69.tar.zst
freebsd-ports-gnome-869482669bf9b3837798455d46ef348f94f92d69.zip
Fix build with libc++ 3.8
PR: 208488 Submitted by: dim With hat: portmgr
Diffstat (limited to 'databases/db48')
-rw-r--r--databases/db48/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/databases/db48/Makefile b/databases/db48/Makefile
index 983e25eb95ba..3ccbc9ecee7b 100644
--- a/databases/db48/Makefile
+++ b/databases/db48/Makefile
@@ -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