=> 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 fwknop-2.6.9.tar.gz
=> Checksum RMD160 OK for fwknop-2.6.9.tar.gz
=> Checksum SHA512 OK for fwknop-2.6.9.tar.gz
===> Installing dependencies for fwknop-2.6.9
=> Tool dependency automake>=1.9: found automake-1.15.1
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gnupg-[0-9]*: found gnupg-1.4.23
=> Full dependency wget-[0-9]*: found wget-1.19.5
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.2.8
=> Full dependency gpgme>=1.8.0nb1: found gpgme-1.10.0
===> Overriding tools for fwknop-2.6.9
===> Extracting for fwknop-2.6.9
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
===> Patching for fwknop-2.6.9
=> Applying pkgsrc patches for fwknop-2.6.9
=> Verifying /data/pkgsrc/net/fwknop/patches/patch-common_netinet__common.h
=> Applying pkgsrc patch /data/pkgsrc/net/fwknop/patches/patch-common_netinet__common.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-common_netinet__common.h,v 1.1 2018/05/01 21:10:42 khorben Exp $
|
|Add support for NetBSD.
|
|--- common/netinet_common.h.orig	2016-06-09 01:01:53.000000000 +0000
|+++ common/netinet_common.h
--------------------------
Patching file common/netinet_common.h using Plan A...
Hunk #1 succeeded at 45.
done
=> Verifying /data/pkgsrc/net/fwknop/patches/patch-configure.ac
=> Applying pkgsrc patch /data/pkgsrc/net/fwknop/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.1 2018/05/01 21:10:42 khorben Exp $
|
|Add support for NetBSD.
|
|--- configure.ac.orig	2016-06-09 01:01:53.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 412.
done
===> Creating toolchain wrappers for fwknop-2.6.9
===> Configuring for fwknop-2.6.9
cd /data/scratch/net/fwknop/work/fwknop-2.6.9 && sh autogen.sh
+ '[' '!' -d m4 ']'
+ '[' '!' -d config ']'
+ mkdir config
+ which libtoolize
+ >/dev/null
+ libtoolize --automake --copy --force
libtoolize: not found
+ aclocal -I config -I m4
+ autoheader
+ automake --add-missing --copy
configure.ac:110: installing 'config/compile'
configure.ac:22: installing 'config/config.guess'
configure.ac:22: installing 'config/config.sub'
configure.ac:24: installing 'config/install-sh'
configure.ac:24: installing 'config/missing'
client/Makefile.am: installing 'config/depcomp'
common/Makefile.am:3: error: library used but 'RANLIB' is undefined
common/Makefile.am:3:   The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
common/Makefile.am:3:   to 'configure.ac' and run 'autoconf' again.
common/Makefile.am:15: warning: variable 'libfko_util_a_LDFLAGS' is defined but no program or
common/Makefile.am:15: library has 'libfko_util_a' as canonical name (possible typo)
doc/Makefile.am: warning: Oops!
doc/Makefile.am:     It appears this file (or files included by it) are triggering
doc/Makefile.am:     an undocumented, soon-to-be-removed automake hack.
doc/Makefile.am:     Future automake versions will no longer place in the builddir
doc/Makefile.am:     (rather than in the srcdir) the generated '.info' files that
doc/Makefile.am:     appear to be cleaned, by e.g. being listed in CLEANFILES or
doc/Makefile.am:     DISTCLEANFILES.
doc/Makefile.am:     If you want your '.info' files to be placed in the builddir
doc/Makefile.am:     rather than in the srcdir, you have to use the shiny new
doc/Makefile.am:     'info-in-builddir' automake option.
doc/Makefile.am:3: installing 'config/mdate-sh'
doc/Makefile.am:3: installing 'config/texinfo.tex'
lib/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
lib/Makefile.am:1:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/Makefile.am:1:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/Makefile.am:1:   If 'LT_INIT' is in 'configure.ac', make sure
lib/Makefile.am:1:   its definition is in aclocal's search path.
+ autoconf
configure.ac:121: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/net/fwknop
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/fwknop