Date: Wed, 28 May 2014 16:17:42 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355641 - head/www/nghttp2 Message-ID: <201405281617.s4SGHgQI042019@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed May 28 16:17:41 2014 New Revision: 355641 URL: http://svnweb.freebsd.org/changeset/ports/355641 QAT: https://qat.redports.org/buildarchive/r355641/ Log: - Use jemalloc only on FreeBSD 10 and above - Strip shared library in post-install: - Bump PORTREVISION Modified: head/www/nghttp2/Makefile Modified: head/www/nghttp2/Makefile ============================================================================== --- head/www/nghttp2/Makefile Wed May 28 15:59:55 2014 (r355640) +++ head/www/nghttp2/Makefile Wed May 28 16:17:41 2014 (r355641) @@ -3,6 +3,7 @@ PORTNAME= nghttp2 PORTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= www net MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \ LOCAL/sunpoet @@ -21,7 +22,6 @@ OPTIONS_SUB= yes CONFIGURE_ARGS= --disable-python-bindings \ --enable-app \ --enable-examples \ - --with-jemalloc \ --with-spdylay CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ @@ -45,10 +45,14 @@ HPACK_LIB_DEPENDS= libjansson.so:${PORTS IGNORE= nghttp2 requires OpenSSL 1.0.1+ .endif +.if ${OSVERSION} >= 1000000 +CONFIGURE_ARGS+=--with-jemalloc +.endif + post-patch: @${REINPLACE_CMD} -e '/JEMALLOC_LIBS/ s|-ljemalloc||' ${WRKSRC}/configure -post-build: - @${STRIP_CMD} ${WRKSRC}/lib/.libs/libnghttp2.so.3 +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnghttp2.so.3.0.0 .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405281617.s4SGHgQI042019>