=> 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 itpp-4.0.7.tar.gz
=> Checksum RMD160 OK for itpp-4.0.7.tar.gz
=> Checksum SHA512 OK for itpp-4.0.7.tar.gz
===> Installing dependencies for itpp-4.0.7
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency libtool-fortran>=2.4.2nb9: found libtool-fortran-2.4.6nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency blas>=1.0nb3: found blas-3.9.0
=> Full dependency fftw>=3.1nb1: found fftw-3.3.8nb2
=> Full dependency lapack>=3.1.1: found lapack-3.9.0
=> Full dependency gcc7>=: found gcc7-7.5.0nb2
=> Full dependency gcc7>=7.0: found gcc7-7.5.0nb2
===> Overriding tools for itpp-4.0.7
===> Extracting for itpp-4.0.7
===> Patching for itpp-4.0.7
=> Applying pkgsrc patches for itpp-4.0.7
=> Verifying /data/pkgsrc/math/itpp/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/math/itpp/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2014/08/19 13:37:53 joerg Exp $
|
|--- configure.orig	2009-12-27 00:56:31.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 23433.
Hunk #2 succeeded at 23494.
done
===> Creating toolchain wrappers for itpp-4.0.7
===> Configuring for itpp-4.0.7
=> 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... build-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
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 clang++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for x86_64--netbsd-g77... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
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 dependency style of clang... gcc3
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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-ar... no
checking for ar... ar
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 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 whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ accepts -g... (cached) yes
checking dependency style of clang++... (cached) gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for x86_64--netbsd-g77... (cached) gfortran
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether gfortran accepts -g... (cached) 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... no
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... 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 dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether to use explicit library dependencies... yes
checking for doxygen... no
checking for latex... no
checking for dvips... no
checking for gs... no
checking for perl... /data/scratch/math/itpp/work/.tools/bin/perl
checking for gdiff... /usr/bin/diff
checking whether time.h and sys/time.h may both be included... yes
checking cmath usability... yes
checking cmath presence... yes
checking for cmath... yes
checking complex usability... yes
checking complex presence... yes
checking for complex... yes
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking whether signgam is declared... yes
checking whether isfinite is declared... no
checking whether isinf is declared... no
checking whether isnan is declared... no
checking for std::isfinite... yes
checking for std::isinf... yes
checking for std::isnan... yes
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for cbrt... yes
checking for erf... yes
checking for erfc... yes
checking for finite... yes
checking for fpclass... no
checking for isfinite... no
checking for isinf... yes
checking for isnan... yes
checking for lgamma... yes
checking for log1p... yes
checking for log2... yes
checking for rint... yes
checking for tgamma... yes
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 8
checking size of unsigned long... 8
checking size of long long... 8
checking size of unsigned long long... 8
checking whether the compiler supports extern template... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran...  -Wl,-R/usr/pkg/lib -L/data/scratch/math/itpp/work/.buildlink/lib -L/usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0 -L/usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../.. -Wl,-R/usr/pkg/gcc7/x86_64--netbsd/lib/. -Wl,-R/usr/pkg/gcc7/lib/. -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking for sgemm_ in -lmkl_core... no
checking for dgemm_ in -lmkl_core... no
checking for sgemm_ in -lacml... no
checking for sgemm_ in -lacml_mp... no
checking for dgemm_ in -lacml... no
checking for dgemm_ in -lacml_mp... no
checking for ATL_xerbla in -latlas... no
checking for sgemm_ in -lblas... yes
checking for MKLGetVersion in -lblas... no
checking for acmlversion in -lblas... no
checking for ATL_xerbla in -lblas... no
checking for cheev_... no
checking for cheev_ in -lmkl_lapack32... no
checking for cheev_ in -lmkl_lapack... no
checking for cheev_ in -llapack... yes
checking for DftiComputeForward... no
checking for zfft1dx... no
checking for fftw_plan_dft_1d in -lfftw3... yes
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating itpp/Makefile
config.status: creating itpp/base/Makefile
config.status: creating itpp/base/algebra/Makefile
config.status: creating itpp/base/bessel/Makefile
config.status: creating itpp/base/math/Makefile
config.status: creating itpp/comm/Makefile
config.status: creating itpp/fixed/Makefile
config.status: creating itpp/optim/Makefile
config.status: creating itpp/protocol/Makefile
config.status: creating itpp/signal/Makefile
config.status: creating itpp/srccode/Makefile
config.status: creating itpp/stat/Makefile
config.status: creating doc/Makefile
config.status: creating doc/images/Makefile
config.status: creating doc/tutorial/Makefile
config.status: creating doc/tutorial/src/Makefile
config.status: creating doc/local/Makefile
config.status: creating doc/local/index.doc
config.status: creating doc/doxygen_html.cfg
config.status: creating extras/Makefile
config.status: creating tests/Makefile
config.status: creating win32/Makefile
config.status: creating win32/itpp_acml_tests/Makefile
config.status: creating win32/itpp_mkl_tests/Makefile
config.status: creating itpp.pc
config.status: creating itpp_debug.pc
config.status: creating itpp-config
config.status: creating itpp/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: displaying configuration summary

------------------------------------------------------------------------------
itpp-4.0.7 library configuration:
------------------------------------------------------------------------------

Directories:
  - prefix ......... : /usr/pkg
  - exec_prefix .... : ${prefix}
  - includedir ..... : ${prefix}/include
  - libdir ......... : ${exec_prefix}/lib
  - datarootdir .... : ${prefix}/share
  - docdir ......... : ${datarootdir}/doc/${PACKAGE_TARNAME}

Switches:
  - debug .......... : no
  - exceptions ..... : no
  - html-doc ....... : no
  - shared ......... : yes
  - static ......... : no
  - explicit deps .. : yes
  - zdotu .......... : zdotusub

Documentation tools:
  - doxygen ........ : no
  - latex .......... : no
  - dvips .......... : no
  - ghostscript .... : no

Testing tools:
  - diff ........... : yes

Optional modules:
  - comm ........... : yes
  - fixed .......... : yes
  - optim .......... : yes
  - protocol ....... : yes
  - signal ......... : yes
  - srccode ........ : yes

External libs:
  - BLAS ........... : yes
    * MKL .......... : no
    * ACML ......... : no
    * ATLAS ........ : no
  - LAPACK ......... : yes
  - FFT ............ : yes
    * MKL .......... : no
    * ACML ......... : no
    * FFTW ......... : yes

Compiler/linker flags/libs/defs:
  - CXX ............ : clang++
  - F77 ............ : gfortran
  - CXXFLAGS ....... : -O2 -I/usr/pkg/include -I/usr/include
  - CXXFLAGS_DEBUG . : -Wall -ggdb -pipe
  - CPPFLAGS ....... : -I/usr/pkg/include -I/usr/include
  - LDFLAGS ........ : -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
  - LIBS ........... : -lfftw3 -llapack -lblas

------------------------------------------------------------------------------
Now type 'make && make install' to build and install itpp-4.0.7 library
------------------------------------------------------------------------------

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp