- Merge post-configure:

PR:		215382
Reported by:	Anton Sayetsky <vsasjason@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-12-18 16:42:27 +00:00
parent e26a7f60ec
commit f44590c204
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428878

View file

@ -65,13 +65,6 @@ SPDY_LIB_DEPENDS= libspdylay.so:www/spdylay
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/