git: 9296c53eb6e2 - main - www/libnghttp3: Revert 3920730e8d456472d921a2ccac4c54fa7e6278a8

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 10:06:22 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9296c53eb6e2940200c384dd08ae4853a1b05fea

commit 9296c53eb6e2940200c384dd08ae4853a1b05fea
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 10:05:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 10:05:51 +0000

    www/libnghttp3: Revert 3920730e8d456472d921a2ccac4c54fa7e6278a8
    
    - Bump PORTREVISION for package change
---
 www/libnghttp3/Makefile                | 16 ++++++++--------
 www/libnghttp3/files/patch-Makefile.in | 14 ++++++++++++++
 www/libnghttp3/pkg-plist               |  4 ----
 3 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile
index 751969bdd4cf..3482feee5136 100644
--- a/www/libnghttp3/Makefile
+++ b/www/libnghttp3/Makefile
@@ -1,8 +1,8 @@
 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
@@ -13,11 +13,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/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