=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for kicad-6.0.2.tar.bz2
=> Checksum SHA512 OK for kicad-6.0.2.tar.bz2
===> Installing dependencies for kicad-6.0.2
==========================================================================
The following variables will affect the build process of this package,
kicad-6.0.2.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * PYTHON_VERSION_DEFAULT = 39
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * PYPACKAGE = python39

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
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.70.4
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.22.3nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency swig3-[0-9]*: found swig3-3.0.12nb4
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency boost-headers-1.78.*: found boost-headers-1.78.0
=> Build dependency cmake>=2.8.5nb1: found cmake-3.22.3nb1
=> Build dependency glm>=0.9.9.8: found glm-0.9.9.8
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency git-base-[0-9]*: found git-base-2.35.3
=> Full dependency boost-libs-1.78.*: found boost-libs-1.78.0
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency cairo>=1.16.0nb2: found cairo-1.16.0nb4
=> Full dependency python39>=3.9.0: found python39-3.9.12
=> Full dependency curl>=7.80.0: found curl-7.82.0
=> Full dependency wxGTK30>=3.0.5.1nb4: found wxGTK30-3.0.5.1nb5
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb1
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for kicad-6.0.2
===> Extracting for kicad-6.0.2
===> Patching for kicad-6.0.2
=> Applying pkgsrc patches for kicad-6.0.2
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-3d-viewer_3d_cache_sg_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-3d-viewer_3d_cache_sg_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3d-viewer_3d_cache_sg_CMakeLists.txt,v 1.3 2022/01/02 19:10:03 tnn Exp $
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- 3d-viewer/3d_cache/sg/CMakeLists.txt.orig	2020-12-22 21:05:01.000000000 +0100
|+++ 3d-viewer/3d_cache/sg/CMakeLists.txt	2021-02-20 10:21:32.108366364 +0100
--------------------------
Patching file 3d-viewer/3d_cache/sg/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 43.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/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.6 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and containt multiple directories
|
|--- CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 208.
Hunk #2 succeeded at 933.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_BuildSteps_CreateDocsetDoxyfile.cmake
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_BuildSteps_CreateDocsetDoxyfile.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_BuildSteps_CreateDocsetDoxyfile.cmake,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- CMakeModules/BuildSteps/CreateDocsetDoxyfile.cmake.orig	2021-12-22 13:32:19.000000000 +0000
|+++ CMakeModules/BuildSteps/CreateDocsetDoxyfile.cmake
--------------------------
Patching file CMakeModules/BuildSteps/CreateDocsetDoxyfile.cmake using Plan A...
Hunk #1 succeeded at 22.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_BuildSteps_WritePlatformMetadata__linux.cmake
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_BuildSteps_WritePlatformMetadata__linux.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_BuildSteps_WritePlatformMetadata__linux.cmake,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- CMakeModules/BuildSteps/WritePlatformMetadata_linux.cmake.orig	2021-12-22 13:32:19.000000000 +0000
|+++ CMakeModules/BuildSteps/WritePlatformMetadata_linux.cmake
--------------------------
Patching file CMakeModules/BuildSteps/WritePlatformMetadata_linux.cmake using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_BuildSteps_WriteVersionHeader.cmake
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_BuildSteps_WriteVersionHeader.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_BuildSteps_WriteVersionHeader.cmake,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- CMakeModules/BuildSteps/WriteVersionHeader.cmake.orig	2021-12-22 13:32:19.000000000 +0000
|+++ CMakeModules/BuildSteps/WriteVersionHeader.cmake
--------------------------
Patching file CMakeModules/BuildSteps/WriteVersionHeader.cmake using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_Functions.cmake
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_Functions.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_Functions.cmake,v 1.5 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- CMakeModules/Functions.cmake.orig	2021-12-22 13:32:19.000000000 +0000
|+++ CMakeModules/Functions.cmake
--------------------------
Patching file CMakeModules/Functions.cmake using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 84.
Hunk #3 succeeded at 186.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_KiCadFullVersion.cmake
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_KiCadFullVersion.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_KiCadFullVersion.cmake,v 1.2 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- CMakeModules/KiCadFullVersion.cmake.orig	2021-12-22 13:32:19.000000000 +0000
|+++ CMakeModules/KiCadFullVersion.cmake
--------------------------
Patching file CMakeModules/KiCadFullVersion.cmake using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_WritePlatformMetadata__macos.cmake
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_WritePlatformMetadata__macos.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_WritePlatformMetadata__macos.cmake,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- CMakeModules/WritePlatformMetadata_macos.cmake.orig	2021-12-22 13:32:19.000000000 +0000
|+++ CMakeModules/WritePlatformMetadata_macos.cmake
--------------------------
Patching file CMakeModules/WritePlatformMetadata_macos.cmake using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_config.h.cmake
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-CMakeModules_config.h.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_config.h.cmake,v 1.4 2019/06/14 15:59:32 bouyer Exp $
|
|Fix compile problem due to ciso646.
|
|--- CMakeModules/config.h.cmake.orig	2018-07-13 19:53:52.000000000 +0000
|+++ CMakeModules/config.h.cmake
--------------------------
Patching file CMakeModules/config.h.cmake using Plan A...
Hunk #1 succeeded at 38 (offset 2 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-Documentation_docset_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-Documentation_docset_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Documentation_docset_CMakeLists.txt,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- Documentation/docset/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ Documentation/docset/CMakeLists.txt
--------------------------
Patching file Documentation/docset/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 62.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-bitmaps__png_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-bitmaps__png_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-bitmaps__png_CMakeLists.txt,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- bitmaps_png/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ bitmaps_png/CMakeLists.txt
--------------------------
Patching file bitmaps_png/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 685.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-common_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-common_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-common_CMakeLists.txt,v 1.5 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- common/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ common/CMakeLists.txt
--------------------------
Patching file common/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 139.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-common_lib__tree__model.cpp
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-common_lib__tree__model.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-common_lib__tree__model.cpp,v 1.2 2022/01/02 19:10:03 tnn Exp $
|
|/tmp/cad/kicad/work/kicad-5.1.4/common/lib_tree_model.cpp:78:14: error: 'sort' is not a member of 'std'
|         std::sort( sort_buf.begin(), sort_buf.end(),
|
|--- common/lib_tree_model.cpp.orig	2021-12-22 13:32:19.000000000 +0000
|+++ common/lib_tree_model.cpp
--------------------------
Patching file common/lib_tree_model.cpp using Plan A...
Hunk #1 succeeded at 25.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-cvpcb_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-cvpcb_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cvpcb_CMakeLists.txt,v 1.5 2022/01/02 19:10:03 tnn Exp $
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- cvpcb/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ cvpcb/CMakeLists.txt
--------------------------
Patching file cvpcb/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 98 (offset 2 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-eeschema_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-eeschema_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-eeschema_CMakeLists.txt,v 1.6 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- eeschema/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ eeschema/CMakeLists.txt
--------------------------
Patching file eeschema/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 314 (offset 1 line).
Hunk #2 succeeded at 331 (offset 1 line).
Hunk #3 succeeded at 440 (offset 1 line).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-gerbview_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-gerbview_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gerbview_CMakeLists.txt,v 1.4 2022/01/02 19:10:03 tnn Exp $
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- gerbview/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ gerbview/CMakeLists.txt
--------------------------
Patching file gerbview/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 175 (offset 2 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-include_kiway.h
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-include_kiway.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_kiway.h,v 1.3 2019/06/14 15:59:32 bouyer Exp $
|
|Add NetBSD support.
|
|--- include/kiway.h.orig	2018-07-13 19:53:52.000000000 +0000
|+++ include/kiway.h
--------------------------
Patching file include/kiway.h using Plan A...
Hunk #1 succeeded at 114 (offset -2 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-kicad_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-kicad_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-kicad_CMakeLists.txt,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- kicad/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ kicad/CMakeLists.txt
--------------------------
Patching file kicad/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 166 (offset 2 lines).
Hunk #2 succeeded at 237 (offset 2 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-pagelayout__editor_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-pagelayout__editor_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pagelayout__editor_CMakeLists.txt,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- pagelayout_editor/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ pagelayout_editor/CMakeLists.txt
--------------------------
Patching file pagelayout_editor/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 125 (offset 1 line).
Hunk #2 succeeded at 178 (offset 4 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-pcb__calculator_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-pcb__calculator_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pcb__calculator_CMakeLists.txt,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- pcb_calculator/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ pcb_calculator/CMakeLists.txt
--------------------------
Patching file pcb_calculator/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 115 (offset 3 lines).
Hunk #2 succeeded at 186 (offset 4 lines).
Hunk #3 succeeded at 199 (offset 3 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-pcbnew_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-pcbnew_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pcbnew_CMakeLists.txt,v 1.5 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- pcbnew/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ pcbnew/CMakeLists.txt
--------------------------
Patching file pcbnew/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 565 (offset 3 lines).
Hunk #2 succeeded at 730 (offset 3 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-plugins_3d_idf_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-plugins_3d_idf_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_3d_idf_CMakeLists.txt,v 1.2 2022/01/02 19:10:03 tnn Exp $
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- plugins/3d/idf/CMakeLists.txt.orig	2019-05-29 17:01:08.898401494 +0200
|+++ plugins/3d/idf/CMakeLists.txt	2019-05-29 17:02:00.543946926 +0200
--------------------------
Patching file plugins/3d/idf/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 36.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-plugins_3d_vrml_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-plugins_3d_vrml_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_3d_vrml_CMakeLists.txt,v 1.2 2022/01/02 19:10:03 tnn Exp $
|
|Force proper LDFLAGS for MODULE, as cmake doesn't set rpath for these
|
|--- plugins/3d/vrml/CMakeLists.txt.orig	2019-05-29 17:03:14.351417166 +0200
|+++ plugins/3d/vrml/CMakeLists.txt	2019-05-29 17:03:37.760641586 +0200
--------------------------
Patching file plugins/3d/vrml/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 78 (offset 4 lines).
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-resources_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-resources_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-resources_CMakeLists.txt,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
|and contains multiple directories
|
|--- resources/CMakeLists.txt.orig	2021-12-22 13:32:19.000000000 +0000
|+++ resources/CMakeLists.txt
--------------------------
Patching file resources/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 3.
Hunk #2 succeeded at 12.
done
=> Verifying /tree/pkgsrc/cad/kicad/patches/patch-thirdparty_libcontext_libcontext.h
=> Applying pkgsrc patch /tree/pkgsrc/cad/kicad/patches/patch-thirdparty_libcontext_libcontext.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-thirdparty_libcontext_libcontext.h,v 1.1 2022/01/02 19:10:03 tnn Exp $
|
|Add NetBSD support.
|
|--- thirdparty/libcontext/libcontext.h.orig	2021-12-22 13:32:19.000000000 +0000
|+++ thirdparty/libcontext/libcontext.h
--------------------------
Patching file thirdparty/libcontext/libcontext.h using Plan A...
Hunk #1 succeeded at 22.
done
===> Creating toolchain wrappers for kicad-6.0.2
===> Configuring for kicad-6.0.2
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Ignoring nonexistent file "new/CMakeLists.txt".
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /scratch/work/cad/kicad/work/.cwrapper/bin/gcc - 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: /scratch/work/cad/kicad/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- KiCad install dir: </usr/pkg>
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for iso646.h
-- Looking for iso646.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for malloc
-- Looking for malloc - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Looking for asinh
-- Looking for asinh - found
-- Looking for acosh
-- Looking for acosh - found
-- Looking for atanh
-- Looking for atanh - found
-- Performing Test HAVE_CMATH_ISINF
-- Performing Test HAVE_CMATH_ISINF - Success
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getc_unlocked
-- Looking for getc_unlocked - found
-- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE
-- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE - Success
-- Enabling warning -Wsuggest-override
-- Performing Test COMPILER_SUPPORTS_WINCONSISTENT_MISSING_OVERRIDE
-- Performing Test COMPILER_SUPPORTS_WINCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test COMPILER_SUPPORTS_WDUPLICATED_BRANCHES
-- Performing Test COMPILER_SUPPORTS_WDUPLICATED_BRANCHES - Failed
-- Performing Test COMPILER_SUPPORTS_WDUPLICATED_COND
-- Performing Test COMPILER_SUPPORTS_WDUPLICATED_COND - Failed
-- Performing Test COMPILER_SUPPORTS_WVLA
-- Performing Test COMPILER_SUPPORTS_WVLA - Success
-- Enabling error for -Wvla
-- Performing Test COMPILER_SUPPORTS_WIMPLICIT_FALLTHROUGH
-- Performing Test COMPILER_SUPPORTS_WIMPLICIT_FALLTHROUGH - Failed
-- Performing Test COMPILER_SUPPORTS_WRETURN_TYPE
-- Performing Test COMPILER_SUPPORTS_WRETURN_TYPE - Success
-- Enabling error for -Wreturn-type
-- Performing Test COMPILER_SUPPORTS_WSHADOW
-- Performing Test COMPILER_SUPPORTS_WSHADOW - Success
-- Enabling warning -Wshadow
-- Performing Test COMPILER_SUPPORTS_WSIGN
-- Performing Test COMPILER_SUPPORTS_WSIGN - Success
-- Enabling warning -Wsign-compare
-- Performing Test COMPILER_SUPPORTS_WMISSING_INIT
-- Performing Test COMPILER_SUPPORTS_WMISSING_INIT - Success
-- Enabling warning -Wmissing-field-initializers
-- Performing Test COMPILER_SUPPORTS_WEMPTY_BODY
-- Performing Test COMPILER_SUPPORTS_WEMPTY_BODY - Success
-- Enabling warning -Wempty-body
-- Performing Test COMPILER_SUPPORTS_WREORDER
-- Performing Test COMPILER_SUPPORTS_WREORDER - Success
-- Enabling warning -Wreorder
-- Performing Test COMPILER_SUPPORTS_WMISMATCHED_TAGS
-- Performing Test COMPILER_SUPPORTS_WMISMATCHED_TAGS - Failed
-- Performing Test COMPILER_SUPPORTS_WIMPLICIT_FLOAT_CONVERSION
-- Performing Test COMPILER_SUPPORTS_WIMPLICIT_FLOAT_CONVERSION - Failed
-- Performing Test COMPILER_SUPPORTS_WPSABI
-- Performing Test COMPILER_SUPPORTS_WPSABI - Success
-- Disabling warning -Wpsabi
-- Found Gettext: /scratch/work/cad/kicad/work/.tools/bin/msgmerge (found version "0.16.1") 
-- Found OpenGL: /usr/X11R7/lib/libGL.so   
-- Found GLEW: /usr/pkg/include  
-- Check for installed GLEW -- found
-- Found GLM: /usr/pkg/include (found suitable version "0.9.9.8", minimum required is "0.9.8") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") 
-- Check for installed ZLIB -- found
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "7.82.0")  
-- Found PkgConfig: /scratch/work/cad/kicad/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'cairo'
--   Found cairo, version 1.16.0
-- Found Cairo: /usr/pkg/lib/libcairo.so (found suitable version "1.16.0", minimum required is "1.12") 
-- Checking for module 'pixman-1'
--   Found pixman-1, version 0.34.0
-- Found Pixman: /usr/X11R7/lib/libpixman-1.so (found suitable version "0.34.0", minimum required is "0.30") 
-- Found Boost: /usr/pkg/include (found suitable version "1.78.0", minimum required is "1.59.0")  
-- Found SWIG: /usr/pkg/bin/swig3.0 (found suitable version "3.0.12", minimum required is "3.0") 
-- pybind11 v2.7.1 
CMake Warning (dev) at /usr/pkg/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  thirdparty/pybind11/CMakeLists.txt:98 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/pkg/bin/python3.9 (found version "3.9.12") 
-- Found PythonLibs: /usr/pkg/lib/libpython3.9.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found PythonInterp: /usr/pkg/bin/python3.9 (found suitable version "3.9.12", minimum required is "3.6") 
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python3.9/site-packages
-- Found PythonLibs: /usr/pkg/lib/libpython3.9.so (found suitable version "3.9.12", minimum required is "3.6") 
-- Found  / (wxWidgets )
-- Found wxWidgets: -L/usr/pkg/lib;-pthread;;;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_gtk3u_propgrid-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_stc-3.0;-lwx_gtk3u_richtext-3.0 (found version "3.0.5") 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created
-- Could NOT find UnixCommands (missing: BASH) 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.33
-- S3DSG version: 2.0.0
-- Found Boost: /usr/pkg/include (found version "1.78.0") found components: unit_test_framework filesystem system 
-- Found wxWidgets: -L/usr/pkg/lib;-pthread;;;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_stc-3.0 (found suitable version "3.0.5", minimum required is "3.0.0") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    PYVERSSUFFIX
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /scratch/work/cad/kicad/work/kicad-6.0.2
=> Rewrite cmake Dependencies files