From owner-svn-ports-all@freebsd.org Sun Dec 18 15:20:39 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 6E272C86319; Sun, 18 Dec 2016 15:20:39 +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 253981E55; Sun, 18 Dec 2016 15:20:39 +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 uBIFKcVv028447; Sun, 18 Dec 2016 15:20:38 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBIFKc1G028445; Sun, 18 Dec 2016 15:20:38 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612181520.uBIFKc1G028445@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, 18 Dec 2016 15:20:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428856 - 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, 18 Dec 2016 15:20:39 -0000 Author: sunpoet Date: Sun Dec 18 15:20:38 2016 New Revision: 428856 URL: https://svnweb.freebsd.org/changeset/ports/428856 Log: - Update for libnghttp2 change (moved into www/libnghttp2) - Add LIB_DEPENDS on www/libnghttp2 - Copy libnghttp2 to lib/ to avoid unnecessary rebuild - Bump PORTREVISION for dependency and package change Modified: head/www/nghttp2/Makefile head/www/nghttp2/pkg-plist Modified: head/www/nghttp2/Makefile ============================================================================== --- head/www/nghttp2/Makefile Sun Dec 18 15:20:33 2016 (r428855) +++ head/www/nghttp2/Makefile Sun Dec 18 15:20:38 2016 (r428856) @@ -4,7 +4,7 @@ PORTNAME= nghttp2 PORTVERSION= 1.17.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www net MAINTAINER= sunpoet@FreeBSD.org @@ -13,6 +13,8 @@ COMMENT= HTTP/2.0 C Library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libnghttp2.so:www/libnghttp2 + OPTIONS_DEFINE= APP ASIO DOCS EXAMPLES HPACK SPDY OPTIONS_DEFAULT=APP HPACK SPDY OPTIONS_SUB= yes @@ -74,6 +76,16 @@ post-configure: CONFIGURE_ARGS+=--with-jemalloc .endif +post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS = / s| lib||' ${WRKSRC}/Makefile.am + @${REINPLACE_CMD} -e 's|$$[({]top_builddir[})]/lib/libnghttp2.la|-lnghttp2|' ${WRKSRC}/*/Makefile.am + +# lib/libnghttp2.* are not available until configure phase +post-configure: + @${MKDIR} ${WRKSRC}/lib/.libs/ + @${CP} ${LOCALBASE}/lib/libnghttp2.so* ${WRKSRC}/lib/.libs/ + @cd ${WRKSRC}/lib/.libs/ && ${AR} x ${LOCALBASE}/lib/libnghttp2.a + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ ${INSTALL_DATA} ${FILESDIR}/nghttpx.conf.sample ${STAGEDIR}${PREFIX}/etc/nghttpx/nghttpx.conf.sample Modified: head/www/nghttp2/pkg-plist ============================================================================== --- head/www/nghttp2/pkg-plist Sun Dec 18 15:20:33 2016 (r428855) +++ head/www/nghttp2/pkg-plist Sun Dec 18 15:20:38 2016 (r428856) @@ -8,17 +8,10 @@ %%ASIO%%include/nghttp2/asio_http2.h %%ASIO%%include/nghttp2/asio_http2_client.h %%ASIO%%include/nghttp2/asio_http2_server.h -include/nghttp2/nghttp2.h -include/nghttp2/nghttp2ver.h -lib/libnghttp2.a -lib/libnghttp2.so -lib/libnghttp2.so.14 -lib/libnghttp2.so.14.12.2 %%ASIO%%lib/libnghttp2_asio.a %%ASIO%%lib/libnghttp2_asio.so %%ASIO%%lib/libnghttp2_asio.so.1 %%ASIO%%lib/libnghttp2_asio.so.1.0.0 -libdata/pkgconfig/libnghttp2.pc %%ASIO%%libdata/pkgconfig/libnghttp2_asio.pc man/man1/h2load.1.gz man/man1/nghttp.1.gz