The php 8.0 flavor of this port builds fine. The php 7.4 fails with: --- ext-src/php_swoole.lo --- /wrkdirs/usr/ports/devel/pecl-swoole/work-php74/swoole-4.6.5/ext-src/php_swoole.cc:28:10: fatal error: 'ext/json/php_json.h' file not found #include "ext/json/php_json.h" ^~~~~~~~~~~~~~~~~~~~~ I have included the JSON extension in php 7.4 ... so this is a mystery to me.
Fixed, thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=72e8f9198ef42de16f2dc3fa71f73e7376164146 commit 72e8f9198ef42de16f2dc3fa71f73e7376164146 Author: Vanilla I. Shu <vanilla@FreeBSD.org> AuthorDate: 2021-04-17 07:46:28 +0000 Commit: Vanilla I. Shu <vanilla@FreeBSD.org> CommitDate: 2021-04-17 07:50:47 +0000 devel/pecl-swoole: Add json to build dependency. PR: 255136 Reported by: dave@jetcafe.org devel/pecl-swoole/Makefile | 1 + 1 file changed, 1 insertion(+)