WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for nvi2-2.2.0.tar.gz
=> Checksum SHA512 OK for nvi2-2.2.0.tar.gz
===> Installing dependencies for nvi2-2.2.0
==========================================================================
The supported build options for nvi2 are:

	iconv wide-curses

The currently selected options are:

	iconv wide-curses

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

	PKG_OPTIONS.nvi2 (not defined)

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

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Overriding tools for nvi2-2.2.0
===> Extracting for nvi2-2.2.0
===> Patching for nvi2-2.2.0
=> Applying pkgsrc patches for nvi2-2.2.0
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/nvi2/patches/patch-cl_cl__screen.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/nvi2/patches/patch-cl_cl__screen.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cl_cl__screen.c,v 1.1 2020/06/14 11:44:02 nia Exp $
|
|This is only valid in ncurses
|
|--- cl/cl_screen.c.orig	2015-04-08 21:20:21.000000000 +0000
|+++ cl/cl_screen.c
--------------------------
Patching file cl/cl_screen.c using Plan A...
Hunk #1 succeeded at 405 (offset -4 lines).
done
===> Creating toolchain wrappers for nvi2-2.2.0
===> Configuring for nvi2-2.2.0
=> Correcting the path to curses.
/bin/mkdir -p -p /Users/pbulk/build/editors/nvi2/work/nvi2-2.2.0/build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning at CMakeLists.txt:9 (message):
  No CMAKE_BUILD_TYPE is selected


-- The C compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/editors/nvi2/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for openpty
-- Looking for openpty - found
-- Looking for __b64_ntop
-- Looking for __b64_ntop - not found
-- Looking for __iconv
-- Looking for __iconv - not found
-- Performing Test ICONV_TRADITIONAL
-- Performing Test ICONV_TRADITIONAL - Success
-- Looking for include file libutil.h
-- Looking for include file libutil.h - not found
-- Looking for include file ncurses.h
-- Looking for include file ncurses.h - found
-- Looking for include file term.h
-- Looking for include file term.h - found
-- Configuring done (5.7s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /Users/pbulk/build/editors/nvi2/work/nvi2-2.2.0/build
=> Rewrite cmake Dependencies files