+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sayaka-3.6.5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sayaka-3.6.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sayaka-3.6.5.tar.gz
=> Checksum SHA512 OK for sayaka-3.6.5.tar.gz
===> Installing dependencies for sayaka-3.6.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency mbedtls>=2.28.3nb1: found mbedtls-2.28.3nb1
===> Overriding tools for sayaka-3.6.5
===> Extracting for sayaka-3.6.5
===> Patching for sayaka-3.6.5
===> Creating toolchain wrappers for sayaka-3.6.5
===> Configuring for sayaka-3.6.5
=> 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 portability problems in extracted files
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 g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for -std=c++17... yes
checking whether c++ accepts -Wcast-qual... yes
checking whether c++ accepts -Wdisabled-macro-expansion... no
checking whether c++ accepts -Wextra-semi... yes
checking whether c++ accepts -Winconsistent-missing-override... no
checking whether c++ accepts -Winconsistent-missing-destructor-override... no
checking whether c++ accepts -Wlogical-op... yes
checking whether c++ accepts -Wmissing-prototypes... no
checking whether c++ accepts -Wmissing-variable-declarations... no
checking whether c++ accepts -Wvla-extension... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for bsd/bsd.h... no
checking for endian.h... yes
checking for sys/endian.h... no
checking for sys/ttycom.h... no
checking for sys/sysctl.h... no
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_expect... yes
checking for __attribute__((__format__))... yes
checking for library containing iconv... none required
checking whether iconv needs const... no
checking for library containing getprogname... none required
checking for mbedtls... yes
checking for mbedtls_net_poll in -lmbedtls... yes
configure: creating ./config.status
config.status: creating Makefile.cfg
config.status: creating config.h

sayaka was configured as follows
 Image loader               : Bundled stb_image
 SSL/TLS library            : mbedTLS