=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for libmcs-0.7.1.tgz
=> Checksum RMD160 OK for libmcs-0.7.1.tgz
=> Checksum SHA512 OK for libmcs-0.7.1.tgz
===> Installing dependencies for libmcs-0.7.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency distcc-[0-9]*: found distcc-3.3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libmowgli>=0.7.0: found libmowgli-2.1.3
===> Overriding tools for libmcs-0.7.1
===> Extracting for libmcs-0.7.1
===> Patching for libmcs-0.7.1
=> Applying pkgsrc patches for libmcs-0.7.1
===> Creating toolchain wrappers for libmcs-0.7.1
===> Configuring for libmcs-0.7.1
=> 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
=> Adding run-time search paths to pkg-config files.
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking target system type... i486--netbsdelf
checking for i486--netbsdelf-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for library containing strerror... none required
checking for shared library system... POSIX
checking for dlopen in -ldl... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for an ANSI C-conforming const... yes
checking whether closedir returns void... no
checking for strstr... yes
checking for memset... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtod... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for libmowgli >= 0.4.0... no
configure: error: libmowgli 0.4.0 or newer required
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/libmcs
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/libmcs