svn commit: r413541 - head/databases/db48

Baptiste Daroussin bapt at FreeBSD.org
Sun Apr 17 20:51:23 UTC 2016


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 <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


More information about the svn-ports-all mailing list