git: 7d992c5fed2f - main - www/libnghttp3: Update to 1.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 18:42:45 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d992c5fed2f3c8a8953404fec189424d6da1144

commit 7d992c5fed2f3c8a8953404fec189424d6da1144
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:17:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:37:04 +0000

    www/libnghttp3: Update to 1.5.0
    
    Changes:        https://github.com/ngtcp2/nghttp3/releases
---
 www/libnghttp3/Makefile                | 14 +++++++-------
 www/libnghttp3/distinfo                |  2 +-
 www/libnghttp3/files/patch-Makefile.in | 14 ++++++++++++++
 www/libnghttp3/pkg-plist               |  4 ----
 4 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile
index cb915c47dc2b..f9a07767a9c5 100644
--- a/www/libnghttp3/Makefile
+++ b/www/libnghttp3/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	nghttp3
-DISTVERSION=	1.5.0
+PORTVERSION=	1.5.0
 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
@@ -12,11 +12,11 @@ WWW=		https://nghttp2.org/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 <bsd.port.mk>
diff --git a/www/libnghttp3/distinfo b/www/libnghttp3/distinfo
index c59449778d28..c331d853a09a 100644
--- a/www/libnghttp3/distinfo
+++ b/www/libnghttp3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724528409
+TIMESTAMP = 1725559597
 SHA256 (nghttp3-1.5.0.tar.xz) = 8c00e3910ea2ad1218dafebcf8dd2ffdf030c992d9ceb65834d29e5e5278dd0d
 SIZE (nghttp3-1.5.0.tar.xz) = 391668
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,9 +1,5 @@
 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