From owner-svn-ports-all@freebsd.org Sun Nov 20 23:53:23 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B05F8C4CF07; Sun, 20 Nov 2016 23:53:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F74B19F5; Sun, 20 Nov 2016 23:53:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAKNrMRC037763; Sun, 20 Nov 2016 23:53:22 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAKNrM7r037762; Sun, 20 Nov 2016 23:53:22 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201611202353.uAKNrM7r037762@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 20 Nov 2016 23:53:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426639 - head/www/nghttp2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2016 23:53:23 -0000 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