=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for php-8.3.14.tar.xz
=> Checksum SHA512 OK for php-8.3.14.tar.xz
===> Installing dependencies for php83-bz2-8.3.14
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency pcre2>=10.30: found pcre2-10.44
=> Full dependency php>=8.3.13nb4<8.4: found php-8.3.14
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for php83-bz2-8.3.14
===> Extracting for php83-bz2-8.3.14
===> Patching for php83-bz2-8.3.14
===> Creating toolchain wrappers for php83-bz2-8.3.14
===> Configuring for php83-bz2-8.3.14
Configuring for:
PHP Api Version:         20230831
Zend Module Api No:      20230831
Zend Extension Api No:   420230831
=> Generating pkg-config files for builtin xz package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking pkg-config is at least version 0.9.0... yes
checking for x86_64--netbsd-cc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep -e... (cached) /usr/bin/egrep
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
configure: error: Cannot find php-config. Please use --with-php-config=PATH
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/archivers/php-bz2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/archivers/php-bz2