=> 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 kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz
=> Checksum RMD160 OK for kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz
=> Checksum SHA512 OK for kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz
===> Installing dependencies for kalibrate-hackrf-20160704
=> Tool dependency automake>=1.9: found automake-1.16.2
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb9
=> 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
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.23nb1
=> Full dependency hackrf>=0.1: found hackrf-2018.01.1nb1
=> Full dependency fftw>=3.1nb1: found fftw-3.3.8nb2
===> Overriding tools for kalibrate-hackrf-20160704
===> Extracting for kalibrate-hackrf-20160704
===> Patching for kalibrate-hackrf-20160704
=> Applying pkgsrc patches for kalibrate-hackrf-20160704
=> Verifying /data/pkgsrc/ham/kalibrate-hackrf/patches/patch-src_kal.cc
=> Applying pkgsrc patch /data/pkgsrc/ham/kalibrate-hackrf/patches/patch-src_kal.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_kal.cc,v 1.1 2019/02/07 14:03:22 tnn Exp $
|
|for basename(3)
|
|--- src/kal.cc.orig	2016-07-04 03:55:59.000000000 +0000
|+++ src/kal.cc
--------------------------
Patching file src/kal.cc using Plan A...
Hunk #1 succeeded at 48.
done
===> Creating toolchain wrappers for kalibrate-hackrf-20160704
===> Configuring for kalibrate-hackrf-20160704
cd /data/scratch/ham/kalibrate-hackrf/work/kalibrate-hackrf-2492c20822ca6a49dce97967caf394b1d4b2c43e && autoreconf -if
configure.ac:9: installing './compile'
configure.ac:37: installing './config.guess'
configure.ac:37: installing './config.sub'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './INSTALL'
src/Makefile.am: installing './depcomp'
=> 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 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 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 whether make supports the include directive... yes (GNU style)
checking dependency style of clang++... gcc3
checking for x86_64--netbsd-gcc... clang
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 whether ln -s works... yes
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for working strtod... yes
checking for floor... no
checking for getpagesize... yes
checking for memset... yes
checking for sqrt... no
checking for strtoul... yes
checking for strtol... yes
checking pkg-config is at least version 0.9.0... yes
checking for FFTW3... yes
checking for LIBHACKRF... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands