Hello.
PHP 8.2 has an extension called mhash.
It is enabled by --with-mhash.
It seems that this has not been ported yet.
If this is ported, the build will fail in environments where
xxhash(devel/xxhash) is installed.
The cause is the usual one due to the order of the include directories
specified by -I .
This can be avoided by adding PHP_ADD_INCLUDE([$ext_srcdir/xxhash], 1) after
PHP_NEW_EXTENSION(...) of ${WRKSRC}/ext/hash/config.m4 and running buildconf.
This happened due to the source pulled from git just a moment ago, but if it
occurred due to something that was ported, please keep this in mind :)
Regards.