Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2018 19:46:07 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468493 - in head: databases/mysql80-server devel/opendht sysutils/freefilesync
Message-ID:  <201804271946.w3RJk711097510@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Apr 27 19:46:06 2018
New Revision: 468493
URL: https://svnweb.freebsd.org/changeset/ports/468493

Log:
  Adjust __cxa_thread_atexit conditional

Modified:
  head/databases/mysql80-server/Makefile   (contents, props changed)
  head/devel/opendht/Makefile   (contents, props changed)
  head/sysutils/freefilesync/Makefile   (contents, props changed)

Modified: head/databases/mysql80-server/Makefile
==============================================================================
--- head/databases/mysql80-server/Makefile	Fri Apr 27 18:53:17 2018	(r468492)
+++ head/databases/mysql80-server/Makefile	Fri Apr 27 19:46:06 2018	(r468493)
@@ -81,7 +81,6 @@ PLIST_SUB=	MY_DBDIR=${MY_DBDIR} \
 # MySQL-Server part
 .if !defined(CLIENT_ONLY)
 USES+=		mysql:80
-IGNORE_FreeBSD_10=	"FreeBSD 10.0 doesn't have _cxa_thread_atexit() implemeneted in libc, it has been implemented since 11
 
 CONFLICTS_INSTALL=	mysql8[1-9]-server-* \
 			mysql[0-79][0-9]-server-* \
@@ -140,6 +139,10 @@ FEDERATED_SUB_LIST_OFF+=	FEDER=""
 .endif
 
 .include <bsd.port.options.mk>
+
+.if !defined(CLIENT_ONLY) && ${OPSYS} == FreeBSD && ${OSVERSION} < 1003506
+BROKEN=		no __cxa_thread_atexit() support in FreeBSD libc < 10.4
+.endif
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
 SUB_LIST+=	LEGACY_LIMITS="@comment " MODERN_LIMITS=""

Modified: head/devel/opendht/Makefile
==============================================================================
--- head/devel/opendht/Makefile	Fri Apr 27 18:53:17 2018	(r468492)
+++ head/devel/opendht/Makefile	Fri Apr 27 19:46:06 2018	(r468493)
@@ -11,8 +11,6 @@ COMMENT=	Lightweight Distributed Hash Table implementa
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_FreeBSD_10=	Missing __cxa_thread_atexit
-
 LIB_DEPENDS=	libargon2.so:security/libargon2 \
 		libmsgpackc.so:devel/msgpack \
 		libnettle.so:security/nettle \
@@ -41,5 +39,11 @@ PROXY_SERVER_LIB_DEPENDS=	libjsoncpp.so:devel/jsoncpp 
 				librestbed.so:www/restbed
 
 PORTDOCS=	*
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1003506
+BROKEN=		no __cxa_thread_atexit() support in FreeBSD libc < 10.4
+.endif
 
 .include <bsd.port.mk>

Modified: head/sysutils/freefilesync/Makefile
==============================================================================
--- head/sysutils/freefilesync/Makefile	Fri Apr 27 18:53:17 2018	(r468492)
+++ head/sysutils/freefilesync/Makefile	Fri Apr 27 19:46:06 2018	(r468493)
@@ -15,8 +15,6 @@ COMMENT=	Backup software to synchronize files and fold
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKDIR}/License.txt
 
-IGNORE_FreeBSD_10=	FreeBSD 10.0 doesn't have _cxa_thread_atexit() implemeneted in libc, it has been implemented since 11
-
 BUILD_DEPENDS=	${LOCALBASE}/include/zenxml/xml.h:textproc/zenxml
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libfontconfig.so:x11-fonts/fontconfig \
@@ -40,5 +38,11 @@ post-patch:
 		${WRKDIR}/zen/file_access.cpp
 	@${REINPLACE_CMD} -e 's|WEXITSTATUS||' ${WRKDIR}/zen/shell_execute.h
 	@${REINPLACE_CMD} -e 's| noexcept;|;|' ${WRKDIR}/zen/scope_guard.h
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1003506
+BROKEN=		no __cxa_thread_atexit() support in FreeBSD libc < 10.4
+.endif
 
 .include <bsd.port.mk>



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