Created attachment 257134 [details] Patch to optionally unbundle zlib-ng from py-zlib-ng Our archivers/zlib-ng version is newer than bundled one so let's add an option to use it instead of bunlded version (off by default). I'm using the unbundled version for a while and it works ok for me.
Why not use the version from the ports by default?
(In reply to Vladimir Druzenko from comment #1) Bundled version seems to be tested more and py-zlib-ng tests are not in archive. I think it's better to add tests before switching default.
Ok. Build fine with zlib-ng from ports. Maybe switch default on zlib-ng from ports later.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7813c72dd2771baf7a4c7e677519d7a8dfc85f26 commit 7813c72dd2771baf7a4c7e677519d7a8dfc85f26 Author: Oleg Sidorkin <osidorkin@gmail.com> AuthorDate: 2025-01-31 12:04:41 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-01-31 12:04:41 +0000 archivers/py-zlib-ng: Add an option to use zlib-ng from ports instead of bundled version Our archivers/zlib-ng version is newer than bundled one so let's add an option to use it instead of bunlded version (off by default). Maybe we'll switch default to archivers/zlib-ng later. PR: 284470 archivers/py-zlib-ng/Makefile | 7 +++++++ 1 file changed, 7 insertions(+)
Thanks.