=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 dtpstree-1.0.3.tar.xz
=> Checksum RMD160 OK for dtpstree-1.0.3.tar.xz
=> Checksum SHA512 OK for dtpstree-1.0.3.tar.xz
===> Installing dependencies for dtpstree-1.0.3nb1
==========================================================================
The supported build options for dtpstree are:

	terminfo

The currently selected options are:

	terminfo

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.dtpstree (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
dtpstree-1.0.3nb1.  Their current value is shown below:

        * TERMINFO_DEFAULT = terminfo

Based on these variables, the following variables have been set:

        * TERMCAP_TYPE = terminfo
        * TERMINFO_TYPE = terminfo

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170611
===> Overriding tools for dtpstree-1.0.3nb1
===> Extracting for dtpstree-1.0.3nb1
===> Patching for dtpstree-1.0.3nb1
=> Applying pkgsrc patches for dtpstree-1.0.3nb1
=> Verifying /data/pkgsrc/sysutils/dtpstree/patches/patch-dtpstree.cpp
=> Applying pkgsrc patch /data/pkgsrc/sysutils/dtpstree/patches/patch-dtpstree.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-dtpstree.cpp,v 1.1 2013/04/30 22:34:31 joerg Exp $
|
|--- dtpstree.cpp.orig	2013-04-30 19:54:40.000000000 +0000
|+++ dtpstree.cpp
--------------------------
Patching file dtpstree.cpp using Plan A...
Hunk #1 succeeded at 21.
done
===> Creating toolchain wrappers for dtpstree-1.0.3nb1
===> Configuring for dtpstree-1.0.3nb1
=> 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 for GNU make... make
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking for help2man... :
checking for realpath... /usr/bin/readlink -f
checking for BSD tar with xz support... no
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 how to run the C++ preprocessor... clang++ -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 curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking for library containing setupterm... -lterminfo
checking vis.h usability... yes
checking vis.h presence... yes
checking for vis.h... yes
checking for library containing strvis... none required
checking kvm.h usability... yes
checking kvm.h presence... yes
checking for kvm.h... yes
checking for kinfo.h... no
checking for library containing kvm_openfiles... -lkvm
checking for struct kinfo_proc2... no
checking for struct kinfo_proc... no
configure: error: You need libkvm
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/sysutils/dtpstree
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/sysutils/dtpstree
