From owner-svn-ports-head@FreeBSD.ORG Wed May 28 16:17:42 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 898556E9; Wed, 28 May 2014 16:17:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 7767F2860; Wed, 28 May 2014 16:17:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4SGHg1l042020; Wed, 28 May 2014 16:17:42 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4SGHgQI042019; Wed, 28 May 2014 16:17:42 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201405281617.s4SGHgQI042019@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Wed, 28 May 2014 16:17:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355641 - 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-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 16:17:42 -0000 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