=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for libtelnet-0.23.tar.gz
=> Checksum RMD160 OK for libtelnet-0.23.tar.gz
=> Checksum SHA512 OK for libtelnet-0.23.tar.gz
===> Installing dependencies for libtelnet-0.23
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Overriding tools for libtelnet-0.23
===> Extracting for libtelnet-0.23
===> Patching for libtelnet-0.23
=> Applying pkgsrc patches for libtelnet-0.23
=> Verifying /data/pkgsrc/net/libtelnet/patches/patch-util_telnet-client.c
=> Applying pkgsrc patch /data/pkgsrc/net/libtelnet/patches/patch-util_telnet-client.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-util_telnet-client.c,v 1.4 2020/06/14 10:21:10 nia Exp $
|
|Provide workaround for a non-POSIX cfmakeraw call.
|
|--- util/telnet-client.c.orig	2018-10-18 05:55:23.000000000 +0000
|+++ util/telnet-client.c
--------------------------
Patching file util/telnet-client.c using Plan A...
Hunk #1 succeeded at 204.
done
===> Creating toolchain wrappers for libtelnet-0.23
===> Configuring for libtelnet-0.23
=> 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 for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for x86_64--netbsd-gcc... clang
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 we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking dependency style of clang... gcc3
checking for x86_64--netbsd-ar... no
checking for x86_64--netbsd-lib... no
checking for x86_64--netbsd-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for x86_64--netbsd-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking whether clang understands -c and -o together... (cached) yes
checking dependency style of clang... (cached) gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... clang -E
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 for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for doxygen... no
checking for ANSI C header files... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for zlib... yes
checking for inline... inline
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man1/Makefile
config.status: creating doc/man/man3/Makefile
config.status: creating test/Makefile
config.status: creating util/Makefile
config.status: creating libtelnet-uninstalled.pc
config.status: creating libtelnet.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp