11PORTNAME = nghttp2
2- PORTVERSION = 1.61 .0
2+ PORTVERSION = 1.62 .0
33CATEGORIES = www net
44MASTER_SITES = https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
55
@@ -13,27 +13,30 @@ LICENSE_FILE= ${WRKSRC}/COPYING
1313BUILD_DEPENDS = libnghttp2>=${PORTVERSION}:www/libnghttp2
1414LIB_DEPENDS = libnghttp2.so:www/libnghttp2
1515
16- USES = cmake compiler:c++14 -lang cpe localbase:ldflags pathfix pkgconfig python:env shebangfix ssl tar:xz
16+ USES = cmake:testing compiler:c++20 -lang cpe localbase:ldflags pathfix pkgconfig python:env shebangfix ssl tar:xz
1717
1818CMAKE_ARGS = -DCMAKE_INSTALL_MANDIR=share/man
19- CMAKE_OFF = ENABLE_DEBUG ENABLE_HTTP3 ENABLE_LIB_ONLY ENABLE_STATIC_CRT ENABLE_WERROR WITH_LIBBPF WITH_MRUBY WITH_NEVERBLEED
20- CMAKE_ON = ENABLE_DOC ENABLE_FAILMALLOC ENABLE_THREADS
19+ CMAKE_OFF = BUILD_SHARED_LIBS BUILD_STATIC_LIBS BUILD_TESTING ENABLE_DEBUG ENABLE_HTTP3 ENABLE_LIB_ONLY ENABLE_STATIC_CRT ENABLE_WERROR WITH_LIBBPF WITH_MRUBY WITH_NEVERBLEED
20+ CMAKE_ON = ENABLE_FAILMALLOC ENABLE_THREADS WITH_JEMALLOC
21+ CMAKE_TESTING_ON = BUILD_TESTING
22+ USE_CXXSTD = c++20
2123USE_RC_SUBR = nghttpx
2224
2325SHEBANG_FILES = script/fetch-ocsp-response
2426
25- OPTIONS_DEFINE = APP EXAMPLES HPACK
27+ OPTIONS_DEFINE = APP DOCS EXAMPLES HPACK
2628OPTIONS_DEFAULT =APP HPACK
2729OPTIONS_SUB = yes
2830APP_DESC = Build h2load, nghttp, nghttpd and nghttpx
2931
3032APP_BUILD_DEPENDS = c-ares>=1.7.5:dns/c-ares \
3133 libev>=4.11:devel/libev
32- APP_CMAKE_BOOL = ENABLE_APP
34+ APP_CMAKE_BOOL = ENABLE_APP WITH_LIBXML2
3335APP_LIB_DEPENDS = libcares.so:dns/c-ares \
3436 libev.so:devel/libev
3537APP_USE = GNOME=libxml2
3638APP_USES = gnome
39+ DOCS_CMAKE_BOOL = ENABLE_DOC
3740EXAMPLES_BUILD_DEPENDS = libevent>=2.0.8:devel/libevent
3841EXAMPLES_CMAKE_BOOL = ENABLE_EXAMPLES
3942EXAMPLES_LIB_DEPENDS = libevent_openssl.so:devel/libevent
0 commit comments