diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile index 751969bdd4cf..3482feee5136 100644 --- a/www/libnghttp3/Makefile +++ b/www/libnghttp3/Makefile @@ -1,23 +1,23 @@ PORTNAME= nghttp3 -DISTVERSION= 1.5.0 -PORTREVISION= 1 +PORTVERSION= 1.5.0 +PORTREVISION= 2 CATEGORIES= www net -MASTER_SITES= https://github.com/ngtcp2/${PORTNAME}/releases/download/v${DISTVERSION}/ +MASTER_SITES= https://github.com/ngtcp2/nghttp3/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= lib MAINTAINER= sunpoet@FreeBSD.org COMMENT= HTTP/3 C Library WWW= https://nghttp2.org/nghttp3/ \ https://github.com/ngtcp2/nghttp3 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake pathfix tar:xz -USE_LDCONFIG= yes - -TEST_TARGET= check +USES= libtool pathfix pkgconfig tar:xz -CMAKE_ON= ENABLE_LIB_ONLY +CONFIGURE_ARGS= --enable-lib-only +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USE_LDCONFIG= yes .include diff --git a/www/libnghttp3/files/patch-Makefile.in b/www/libnghttp3/files/patch-Makefile.in new file mode 100644 index 000000000000..130c25e3faba --- /dev/null +++ b/www/libnghttp3/files/patch-Makefile.in @@ -0,0 +1,14 @@ +--- Makefile.in.orig 2022-01-22 09:12:33 UTC ++++ Makefile.in +@@ -404,9 +404,9 @@ top_srcdir = @top_srcdir@ + # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-SUBDIRS = lib tests doc examples ++SUBDIRS = lib + ACLOCAL_AMFLAGS = -I m4 +-dist_doc_DATA = README.rst ++dist_doc_DATA = + EXTRA_DIST = \ + cmakeconfig.h.in \ + CMakeLists.txt \ diff --git a/www/libnghttp3/pkg-plist b/www/libnghttp3/pkg-plist index f5e90a19e16f..f2b11cdd64dd 100644 --- a/www/libnghttp3/pkg-plist +++ b/www/libnghttp3/pkg-plist @@ -1,11 +1,7 @@ include/nghttp3/nghttp3.h include/nghttp3/version.h -lib/cmake/nghttp3/nghttp3Config.cmake -lib/cmake/nghttp3/nghttp3ConfigVersion.cmake -lib/cmake/nghttp3/nghttp3Targets-%%CMAKE_BUILD_TYPE%%.cmake -lib/cmake/nghttp3/nghttp3Targets.cmake lib/libnghttp3.a lib/libnghttp3.so lib/libnghttp3.so.9 lib/libnghttp3.so.9.2.3 libdata/pkgconfig/libnghttp3.pc