git: 7473cd3f759b - main - archivers/minizip-ng: udpate to 4.0.6

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 10 Jun 2024 20:24:04 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7473cd3f759b96609a8448ef1969296bad5f467b

commit 7473cd3f759b96609a8448ef1969296bad5f467b
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-06-10 20:21:10 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-06-10 20:21:10 +0000

    archivers/minizip-ng: udpate to 4.0.6
    
    Changelog:
    https://github.com/zlib-ng/minizip-ng/releases/tag/4.0.6
    
    Upstream prefer to use archivers/zlib-ng instead of old zlib - add it in
    LIB_DEPENDS and prevent search old zlib.
    While here pet portclippy.
    
    PR:             279593
    Approved by:    lbartoletti (maintainer, via IRC)
---
 archivers/minizip-ng/Makefile  | 9 +++++----
 archivers/minizip-ng/distinfo  | 6 +++---
 archivers/minizip-ng/pkg-plist | 2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/archivers/minizip-ng/Makefile b/archivers/minizip-ng/Makefile
index 2247efe07b1d..7175eda8f354 100644
--- a/archivers/minizip-ng/Makefile
+++ b/archivers/minizip-ng/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	minizip-ng
-DISTVERSION=	4.0.5
+DISTVERSION=	4.0.6
 CATEGORIES=	archivers
 
 MAINTAINER=	lbartoletti@FreeBSD.org
@@ -9,16 +9,17 @@ WWW=		https://github.com/zlib-ng/minizip-ng
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libzstd.so:archivers/zstd
+LIB_DEPENDS=	libz-ng.so:archivers/zlib-ng \
+		libzstd.so:archivers/zstd
 
 USES=		cmake:testing iconv pathfix pkgconfig ssl
-USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	zlib-ng
+USE_LDCONFIG=	yes
 
-CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_ARGS=	-DCMAKE_INSTALL_INCLUDEDIR=${LOCALBASE}/include/ \
 		-DMZ_LIB_SUFFIX=-ng
+CMAKE_ON=	BUILD_SHARED_LIBS CMAKE_DISABLE_FIND_PACKAGE_ZLIB
 CMAKE_TESTING_ON=	MZ_BUILD_TEST MZ_BUILD_UNIT_TEST
 
 .include <bsd.port.mk>
diff --git a/archivers/minizip-ng/distinfo b/archivers/minizip-ng/distinfo
index 451dd770df06..3c16918ea4f4 100644
--- a/archivers/minizip-ng/distinfo
+++ b/archivers/minizip-ng/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711398758
-SHA256 (zlib-ng-minizip-ng-4.0.5_GH0.tar.gz) = 9bb636474b8a4269280d32aca7de4501f5c24cc642c9b4225b4ed7b327f4ee73
-SIZE (zlib-ng-minizip-ng-4.0.5_GH0.tar.gz) = 770078
+TIMESTAMP = 1717859328
+SHA256 (zlib-ng-minizip-ng-4.0.6_GH0.tar.gz) = e96ed3866706a67dbed05bf035e26ef6b60f408e1381bf0fe9af17fe2c0abebc
+SIZE (zlib-ng-minizip-ng-4.0.6_GH0.tar.gz) = 770067
diff --git a/archivers/minizip-ng/pkg-plist b/archivers/minizip-ng/pkg-plist
index 6736fdac1f47..aca2c9c54a6c 100644
--- a/archivers/minizip-ng/pkg-plist
+++ b/archivers/minizip-ng/pkg-plist
@@ -24,5 +24,5 @@ lib/cmake/minizip-ng/minizip-ng-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/minizip-ng/minizip-ng.cmake
 lib/libminizip-ng.so
 lib/libminizip-ng.so.1
-lib/libminizip-ng.so.4.0.5
+lib/libminizip-ng.so.4.0.6
 libdata/pkgconfig/minizip-ng.pc