aboutsummaryrefslogtreecommitdiff
path: root/databases/db48
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-04-17 20:51:21 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-04-17 20:51:21 +0000
commit89d9398306bf6a9ab2a75b89242df915552c0372 (patch)
tree9f4d2c8bb2cba28852cf792d66714eb38f12af1f /databases/db48
parent1c77f25690fdae85dfbf29b3ed8be3ffe88cbec4 (diff)
downloadports-89d9398306bf6a9ab2a75b89242df915552c0372.tar.gz
ports-89d9398306bf6a9ab2a75b89242df915552c0372.zip
Notes
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 2b7719dfd454..ef392be914ae 100644
--- a/databases/db48/Makefile
+++ b/databases/db48/Makefile
@@ -34,10 +34,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
@@ -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