Index: head/www/nghttp2/Makefile =================================================================== --- head/www/nghttp2/Makefile (revision 376635) +++ head/www/nghttp2/Makefile (revision 376636) @@ -1,65 +1,71 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= nghttp2 -PORTVERSION= 0.6.7 +PORTVERSION= 0.7.0 CATEGORIES= www net MASTER_SITES= https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/v${PORTVERSION}/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= HTTP/2.0 C Library LICENSE= MIT -BUILD_DEPENDS= libevent2>=2.0.8:${PORTSDIR}/devel/libevent2 \ +BUILD_DEPENDS= libev>=4.15:${PORTSDIR}/devel/libev \ + libevent2>=2.0.8:${PORTSDIR}/devel/libevent2 \ spdylay>=1.3.0:${PORTSDIR}/www/spdylay -LIB_DEPENDS= libevent_openssl.so:${PORTSDIR}/devel/libevent2 \ +LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \ + libevent_openssl.so:${PORTSDIR}/devel/libevent2 \ libspdylay.so:${PORTSDIR}/www/spdylay RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= ASIO HPACK OPTIONS_DEFAULT=HPACK OPTIONS_SUB= yes CONFIGURE_ARGS= --disable-python-bindings \ --enable-app \ --enable-examples \ --with-spdylay -CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ +CONFIGURE_ENV= LIBEV_CFLAGS="-I${LOCALBASE}/include" \ + LIBEV_LIBS="-L${LOCALBASE}/lib -lev" \ + OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ ZLIB_CFLAGS="-I${INCLUDEDIR}" \ ZLIB_LIBS="-L${LIBDIR} -lz" +CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +LIBS+= -L${LOCALBASE}/lib -lev USE_CXXSTD= c++11 USE_GNOME= libxml2 USE_LDCONFIG= yes USE_OPENSSL= yes USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz PORTDOCS= * ASIO_BUILD_DEPENDS= boost-libs>=1.54.0:${PORTSDIR}/devel/boost-libs ASIO_CONFIGURE_OFF= --with-boost=no ASIO_CONFIGURE_ON= --enable-asio-lib --with-boost=${LOCALBASE} --with-boost-asio --with-boost-system --with-boost-thread ASIO_LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs ASIO_RUN_DEPENDS= boost-libs>=1.54.0:${PORTSDIR}/devel/boost-libs HPACK_CONFIGURE_ENABLE= hpack-tools HPACK_LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson .include .if ${OSVERSION} < 1000000 BROKEN= Does not build .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 CONFIGURE_ARGS+=--with-jemalloc .endif post-patch: @${REINPLACE_CMD} -e '/JEMALLOC_LIBS/ s|-ljemalloc||' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|^DEFAULT_INCLUDES = |&-I${WRKSRC}/src/includes |' ${WRKSRC}/examples/Makefile.in ${WRKSRC}/src/Makefile.in .include Index: head/www/nghttp2/distinfo =================================================================== --- head/www/nghttp2/distinfo (revision 376635) +++ head/www/nghttp2/distinfo (revision 376636) @@ -1,2 +1,2 @@ -SHA256 (nghttp2-0.6.7.tar.xz) = 6cd748982f03c0039072c6a61c8dd88fe270ec34b826fb4591e5ed93f1a8376c -SIZE (nghttp2-0.6.7.tar.xz) = 813524 +SHA256 (nghttp2-0.7.0.tar.xz) = 41765d7ed8a4790b674ac27ae5106006799de402c0f0427a71c40875e2971542 +SIZE (nghttp2-0.7.0.tar.xz) = 821656 Index: head/www/nghttp2/pkg-plist =================================================================== --- head/www/nghttp2/pkg-plist (revision 376635) +++ head/www/nghttp2/pkg-plist (revision 376636) @@ -1,23 +1,23 @@ %%HPACK%%bin/deflatehd bin/h2load %%HPACK%%bin/inflatehd bin/nghttp bin/nghttpd bin/nghttpx include/nghttp2/asio_http2.h include/nghttp2/nghttp2.h include/nghttp2/nghttp2ver.h lib/libnghttp2.a lib/libnghttp2.so lib/libnghttp2.so.5 -lib/libnghttp2.so.5.2.2 +lib/libnghttp2.so.5.3.0 %%ASIO%%lib/libnghttp2_asio.a %%ASIO%%lib/libnghttp2_asio.so %%ASIO%%lib/libnghttp2_asio.so.0 %%ASIO%%lib/libnghttp2_asio.so.0.0.0 libdata/pkgconfig/libnghttp2.pc %%ASIO%%libdata/pkgconfig/libnghttp2_asio.pc man/man1/h2load.1.gz man/man1/nghttp.1.gz man/man1/nghttpd.1.gz man/man1/nghttpx.1.gz