=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for HElib-1.0.1.tar.gz
=> Checksum RMD160 OK for HElib-1.0.1.tar.gz
=> Checksum SHA512 OK for HElib-1.0.1.tar.gz
===> Installing dependencies for HElib-1.0.1
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.20.4
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency ntl>=11.4.3: found ntl-11.4.3nb2
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gmp>=5.0.1: found gmp-6.2.1
===> 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 HElib-1.0.1
===> Extracting for HElib-1.0.1
===> Patching for HElib-1.0.1
=> Applying pkgsrc patches for HElib-1.0.1
=> Verifying /tree/pkgsrc/security/HElib/patches/patch-timing.cpp
=> Applying pkgsrc patch /tree/pkgsrc/security/HElib/patches/patch-timing.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-timing.cpp,v 1.3 2020/06/08 13:47:44 wiz Exp $
|
|NetBSD provides CLOCK_MONOTONIC, but not CLOCK_MONOTONIC_RAW.
|https://github.com/homenc/HElib/pull/355
|
|--- timing.cpp.orig	2020-05-04 18:09:21.000000000 +0000
|+++ timing.cpp
--------------------------
Patching file timing.cpp using Plan A...
Hunk #1 succeeded at 18.
done
===> Creating toolchain wrappers for HElib-1.0.1
===> Configuring for HElib-1.0.1
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- The CXX compiler identification is GNU 5.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /scratch/work/security/HElib/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_SKIP_RPATH


-- Build files have been written to: /scratch/work/security/HElib/work/HElib-1.0.1/src
=> Rewrite cmake Dependencies files