Created attachment 248515 [details] patch I've always avoided dealing with testing in ports before, now I understand why :) I think testing framework should be implemented as a feature (like WITH_DEBUG) and not via options. Anyway, this patch fixes build with tests, all tests passed successfully.
Thanks, push it!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e86f4ac9642148525a2b4356dc211526226acdd5 commit e86f4ac9642148525a2b4356dc211526226acdd5 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2024-02-22 17:21:37 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2024-02-22 17:21:37 +0000 archivers/zlib-ng: fix build with TEST option PR: 277098 Approved by: maintainer archivers/zlib-ng/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)