Created attachment 238997 [details] Patch for nghttp2 * Switch to CMake (simplifies patching a lot) * Drop ASIO option (removed in 1.52.0) [1] * Remove ancient version dependencies of libraries to simplify port * Make use of helpers instead of patching by hand * Modernize Makefile to follow Porters Handbook more closely Compile tested on FreeBSD 13.1-STABLE (amd64) (make, make check-plist) Poudriere testport OK 12.3-RELEASE (amd64) Poudriere testport OK 13.1-RELEASE (i386)
Regarding asio https://github.com/nghttp2/nghttp2/pull/1844 , forgot to add link
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1e165f3234177a3f9eea5dd6f5c23b46a950768 commit b1e165f3234177a3f9eea5dd6f5c23b46a950768 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-01-16 09:26:31 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-01-16 09:26:35 +0000 www/nghttp2: Update to 1.51.0 * Switch to CMake (simplifies patching a lot) * Drop ASIO option (removed in 1.52.0) * Remove ancient version dependencies of libraries to simplify port * Make use of helpers instead of patching by hand * Modernize Makefile to follow Porters Handbook more closely Reference: https://github.com/nghttp2/nghttp2/pull/1844 Changelog: https://github.com/nghttp2/nghttp2/releases/tag/v1.51.0 PR: 268537 Approved by: portmgr (maintainer timeout, 2+ weeks) www/nghttp2/Makefile | 53 +++++--------- www/nghttp2/distinfo | 6 +- www/nghttp2/files/patch-CMakeLists.txt (new) | 11 +++ www/nghttp2/files/patch-Makefile.in (gone) | 11 --- .../files/patch-examples-Makefile.in (gone) | 66 ----------------- .../files/patch-script-fetch-ocsp-response (gone) | 7 -- www/nghttp2/files/patch-src-Makefile.in (gone) | 83 ---------------------- www/nghttp2/files/patch-tests-Makefile.in (gone) | 31 -------- www/nghttp2/pkg-plist | 12 ---- 9 files changed, 32 insertions(+), 248 deletions(-)