WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for devilutionx-1.2.1.tar.gz
=> Checksum SHA512 OK for devilutionx-1.2.1.tar.gz
===> Installing dependencies for devilutionx-1.2.1nb13
==========================================================================
The following variables will affect the build process of this package,
devilutionx-1.2.1nb13.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

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 dos2unix-[0-9]*: found dos2unix-7.5.2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.5
=> Tool dependency cmake>=3.18: found cmake-3.31.7nb2
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency SDL2>=2.32.0nb1: found SDL2-2.32.4
=> Full dependency SDL2_mixer>=2.8.0nb1: found SDL2_mixer-2.8.1
=> Full dependency SDL2_ttf>=2.22.0nb3: found SDL2_ttf-2.22.0nb3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libsodium>=0.3: found libsodium-1.0.20
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency flac>=1.1.0nb1: found flac-1.5.0nb1
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glib2>=2.4.0: found glib2-2.82.5
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-11.1.0
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency jack>=1.9.19: found jack-1.9.21nb4
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb7
=> Full dependency libffi>=1.20: found libffi-3.4.8
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libopus>=1.1: found libopus-1.5.2
=> Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb5
=> Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb2
=> Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.10
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency pcre2>=10.21: found pcre2-10.45
=> Full dependency png>=1.2.4: found png-1.6.47
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for devilutionx-1.2.1nb13
===> Extracting for devilutionx-1.2.1nb13
===> Patching for devilutionx-1.2.1nb13
dos2unix /Users/pbulk/build/games/devilutionx/work/devilutionX-1.2.1/CMakeLists.txt
dos2unix: converting file /Users/pbulk/build/games/devilutionx/work/devilutionX-1.2.1/CMakeLists.txt to Unix format...
=> Applying pkgsrc patches for devilutionx-1.2.1nb13
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/devilutionx/patches/patch-3rdParty_asio_include_asio_detail_impl_kqueue__reactor.ipp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/devilutionx/patches/patch-3rdParty_asio_include_asio_detail_impl_kqueue__reactor.ipp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdParty_asio_include_asio_detail_impl_kqueue__reactor.ipp,v 1.2 2020/10/19 17:07:22 nia Exp $
|
|Support newer NetBSD with udata that doesn't need casting.
|
|--- 3rdParty/asio/include/asio/detail/impl/kqueue_reactor.ipp.orig	2020-03-09 00:37:54.000000000 +0000
|+++ 3rdParty/asio/include/asio/detail/impl/kqueue_reactor.ipp
--------------------------
Patching file 3rdParty/asio/include/asio/detail/impl/kqueue_reactor.ipp using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/devilutionx/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/devilutionx/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.4 2023/11/15 16:49:18 nia Exp $
|
|CMake's detection of libsodium is broken for whatever reason,
|and it finds uses libpthread. Use pkg-config to find it.
|
|Do not force libstdc++ to be linked statically, creates problems
|with PIE code.
|
|--- CMakeLists.txt.orig	2023-11-15 16:40:30.182662267 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 158.
Hunk #2 succeeded at 608.
done
===> Creating toolchain wrappers for devilutionx-1.2.1nb13
===> Configuring for devilutionx-1.2.1nb13
/bin/mkdir -p -p /Users/pbulk/build/games/devilutionx/work/devilutionX-1.2.1/build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX 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/games/devilutionx/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/pbulk/build/games/devilutionx/work/.cwrapper/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /Users/pbulk/build/games/devilutionx/work/.tools/bin/pkg-config (found version "2.4.3")
-- Checking for module 'libsodium'
--   Found libsodium, version 1.0.20
-- Found SDL2_ttf: /opt/pkg/lib/libSDL2_ttf.dylib
-- Found SDL2: /opt/pkg/lib/libSDL2.dylib
-- Found SDL2_mixer: /opt/pkg/lib/libSDL2_mixer.dylib
CMake Warning (dev) at CMakeLists.txt:669 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done (4.0s)
-- Generating done (0.1s)
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/games/devilutionx/work/devilutionX-1.2.1/build
=> Rewrite cmake Dependencies files