Created attachment 226552 [details] Makefile and distinfo patch Current version has IGNORE_WITH_PHP=74 80, 1.10 support php 7.4+
Created attachment 226554 [details] fixed patch (restore proper IGNORE_WITH_PHP=80) php 8.0 is supported in pecl-ampq 1.11 (currently in beta state)
Thank you for your report and patch Marcin. Can you describe why the CFLAGS was necessary? If it's still required/necessary, replace CFLAGS+= with USES=localbase
(In reply to Kubilay Kocak from comment #2) Without CFLAGS build could not find .h from amqp lib /usr/ports/net/pecl-amqp/work-php74/amqp-1.10.2/amqp_type.c:24:10: fatal error: 'amqp.h' file not found #include <amqp.h> ^~~~~~~~
Created attachment 226566 [details] fixed patch (replace CFLAGS with USES localbase)
Comment on attachment 226566 [details] fixed patch (replace CFLAGS with USES localbase) Maintainer approved (via IM)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=632a8e82054ac07d4c25dc5aa66890c77756dbf3 commit 632a8e82054ac07d4c25dc5aa66890c77756dbf3 Author: Marcin Gryszkalis <mg@fork.pl> AuthorDate: 2021-07-21 19:38:25 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2021-07-21 19:38:25 +0000 net/pecl-amqp: Update to 1.10.2 - Adds PHP 7.4 Support PR: 257282 Approved by: Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw> (maintainer) net/pecl-amqp/Makefile | 6 +++--- net/pecl-amqp/distinfo | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)