svn commit: r426639 - head/www/nghttp2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Nov 20 23:53:23 UTC 2016
Author: sunpoet
Date: Sun Nov 20 23:53:22 2016
New Revision: 426639
URL: https://svnweb.freebsd.org/changeset/ports/426639
Log:
- Fix build for hosts without __cxa_thread_atexit
Modified:
head/www/nghttp2/Makefile
Modified: head/www/nghttp2/Makefile
==============================================================================
--- head/www/nghttp2/Makefile Sun Nov 20 23:29:38 2016 (r426638)
+++ head/www/nghttp2/Makefile Sun Nov 20 23:53:22 2016 (r426639)
@@ -59,6 +59,13 @@ SPDY_LIB_DEPENDS= libspdylay.so:www/spdy
CPPFLAGS+= -D_GLIBCXX_USE_C99
.endif
+# Disable thread_local support for hosts without __cxa_thread_atexit()
+# See PR/192320 for details
+.if (${OSVERSION} < 1003506) || ((${OSVERSION} >= 1100000) && (${OSVERSION} < 1100122)) || (${OSVERSION} == 1100500)
+post-configure:
+ @${REINPLACE_CMD} -e '/HAVE_THREAD_LOCAL/d' ${WRKSRC}/config.h
+.endif
+
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
CONFIGURE_ARGS+=--with-jemalloc
.endif
More information about the svn-ports-all
mailing list