svn commit: r428878 - head/www/nghttp2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Dec 18 16:42:29 UTC 2016
Author: sunpoet
Date: Sun Dec 18 16:42:27 2016
New Revision: 428878
URL: https://svnweb.freebsd.org/changeset/ports/428878
Log:
- Merge post-configure:
PR: 215382
Reported by: Anton Sayetsky <vsasjason at gmail.com>
Modified:
head/www/nghttp2/Makefile
Modified: head/www/nghttp2/Makefile
==============================================================================
--- head/www/nghttp2/Makefile Sun Dec 18 16:12:28 2016 (r428877)
+++ head/www/nghttp2/Makefile Sun Dec 18 16:42:27 2016 (r428878)
@@ -65,13 +65,6 @@ 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
@@ -85,6 +78,11 @@ post-configure:
@${MKDIR} ${WRKSRC}/lib/.libs/
@${CP} ${LOCALBASE}/lib/libnghttp2.so* ${WRKSRC}/lib/.libs/
@cd ${WRKSRC}/lib/.libs/ && ${AR} x ${LOCALBASE}/lib/libnghttp2.a
+# Disable thread_local support for hosts without __cxa_thread_atexit()
+# See PR/192320 for details
+.if (${OSVERSION} < 1003506) || ((${OSVERSION} >= 1100000) && (${OSVERSION} < 1100122)) || (${OSVERSION} == 1100500)
+ @${REINPLACE_CMD} -e '/HAVE_THREAD_LOCAL/d' ${WRKSRC}/config.h
+.endif
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/
More information about the svn-ports-all
mailing list