+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opencpn-5.0.0nb30/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opencpn-5.0.0nb30/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for OpenCPN-5.0.0.zip
=> Checksum SHA512 OK for OpenCPN-5.0.0.zip
===> Installing dependencies for opencpn-5.0.0nb30
==========================================================================
The following variables will affect the build process of this package,
opencpn-5.0.0nb30.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cmake>=2.8.5nb1: found cmake-3.28.3
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency libsndfile>=1.2.0nb3: found libsndfile-1.2.2
=> Full dependency wxGTK30>=3.0.5.1nb13: found wxGTK30-3.0.5.1nb13
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency libexif>=0.6.20nb1: found libexif-0.6.24
=> Full dependency portaudio>=190600.20161030nb13: found portaudio-190600.20161030nb13
=> Full dependency tinyxml>=2.6.2nb2: found tinyxml-2.6.2nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency curl>=8.4.0nb1: found curl-8.6.0
===> Overriding tools for opencpn-5.0.0nb30
===> Extracting for opencpn-5.0.0nb30
===> Patching for opencpn-5.0.0nb30
=> Applying pkgsrc patches for opencpn-5.0.0nb30
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/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.10 2019/06/03 15:20:59 bouyer Exp $
|
|--- CMakeLists.txt.orig	2019-03-23 02:25:59.000000000 +0100
|+++ CMakeLists.txt	2019-06-03 15:10:23.518458870 +0200
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 157.
Hunk #2 succeeded at 203.
Hunk #3 succeeded at 424.
Hunk #4 succeeded at 1045.
Hunk #5 succeeded at 1064.
Hunk #6 succeeded at 2347.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-FindPortaudio.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-FindPortaudio.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-FindPortaudio.cmake,v 1.3 2019/03/25 11:34:05 bouyer Exp $
|
|really find portaudio in portaudio2 subdir
|
|--- cmake/FindPortaudio.cmake.orig	2014-05-26 21:26:36.000000000 +0200
|+++ cmake/FindPortaudio.cmake	2014-05-26 21:30:22.000000000 +0200
--------------------------
Patching file cmake/FindPortaudio.cmake using Plan A...
Hunk #1 succeeded at 48 (offset 3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_chartdldr_pi_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_chartdldr_pi_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_chartdldr_pi_CMakeLists.txt,v 1.2 2019/03/25 11:34:05 bouyer Exp $
|
|--- plugins/chartdldr_pi/CMakeLists.txt.orig	2019-02-22 04:55:10.000000000 +0100
|+++ plugins/chartdldr_pi/CMakeLists.txt	2019-02-22 14:32:36.748813048 +0100
--------------------------
Patching file plugins/chartdldr_pi/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 190 (offset 5 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_dashboard_pi_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_dashboard_pi_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_dashboard_pi_CMakeLists.txt,v 1.3 2019/03/25 11:34:05 bouyer Exp $
|
|--- plugins/dashboard_pi/CMakeLists.txt.orig	2019-02-22 04:55:10.000000000 +0100
|+++ plugins/dashboard_pi/CMakeLists.txt	2019-02-22 14:34:10.074874697 +0100
--------------------------
Patching file plugins/dashboard_pi/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 270 (offset 2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_grib_pi_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_grib_pi_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_grib_pi_CMakeLists.txt,v 1.3 2019/03/25 11:34:05 bouyer Exp $
|
|--- plugins/grib_pi/CMakeLists.txt.orig	2019-02-22 04:55:10.000000000 +0100
|+++ plugins/grib_pi/CMakeLists.txt	2019-02-22 14:35:35.500028250 +0100
--------------------------
Patching file plugins/grib_pi/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 293 (offset 8 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_wmm_pi_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-plugins_wmm_pi_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_wmm_pi_CMakeLists.txt,v 1.1 2016/05/21 10:50:41 bouyer Exp $
|
|--- plugins/wmm_pi/CMakeLists.txt.orig	2016-05-21 11:06:35.658268321 +0200
|+++ plugins/wmm_pi/CMakeLists.txt	2016-05-21 11:08:53.418675661 +0200
--------------------------
Patching file plugins/wmm_pi/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 81 (offset 23 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_glu_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_glu_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_glu_CMakeLists.txt,v 1.1 2016/05/25 14:38:48 bouyer Exp $
|Make sure to use our glu.h before the base libraries ones.
|
|--- src/glu/CMakeLists.txt.orig	2016-05-25 16:23:41.000000000 +0200
|+++ src/glu/CMakeLists.txt	2016-05-25 16:24:01.000000000 +0200
--------------------------
Patching file src/glu/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 17.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_mipmap_mipmap.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_mipmap_mipmap.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mipmap_mipmap.c,v 1.1 2016/03/14 11:01:06 bouyer Exp $
|
|be consistent with #if where the function is defined
|
|--- src/mipmap/mipmap.c.orig	2016-02-10 16:22:54.000000000 +0100
|+++ src/mipmap/mipmap.c	2016-02-10 16:23:26.000000000 +0100
--------------------------
Patching file src/mipmap/mipmap.c using Plan A...
No such line 183 in input file, ignoring
Hunk #1 succeeded at 146 (offset -38 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_ocpndc.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_ocpndc.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ocpndc.cpp,v 1.2 2018/04/13 18:57:29 bouyer Exp $
|For some reason ocpnDC::DrawEllipse and ocpnDC::DrawRounderRectangle
|and is miscompiled on NetBSD 8.0_BETA and gcc 6.4 from HEAD earmv7hf:
|for the tail call to dc->DrawEllipse() the compiler emits a bx instruction,
|but forgets to load the address of the function in the register.
|The memory barrier works around this problem by avoiding the tail-call
|optimisation.
|Other similar functions in this file are properly compiled ...
|I suspect it's related to the vfp register use in these functions.
|
|--- src/ocpndc.cpp.orig	2018-02-07 12:08:26.000000000 +0100
|+++ src/ocpndc.cpp	2018-04-13 15:31:34.958778133 +0200
--------------------------
Patching file src/ocpndc.cpp using Plan A...
Hunk #1 succeeded at 716.
Hunk #2 succeeded at 778.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_printtable.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_printtable.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_printtable.cpp,v 1.3 2017/09/25 22:31:25 joerg Exp $
|
|Repeat after me: I don't know what 3rd party headers are doing, so I
|won't inflict my namespace decisions on them.
|
|--- src/printtable.cpp.orig	2017-09-25 20:13:02.634455468 +0000
|+++ src/printtable.cpp
--------------------------
Patching file src/printtable.cpp using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 73.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_routeprintout.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_routeprintout.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_routeprintout.cpp,v 1.3 2017/09/25 22:31:25 joerg Exp $
|
|Repeat after me: I don't know what 3rd party headers are doing, so I
|won't inflict my namespace decisions on them.
|
|--- src/routeprintout.cpp.orig	2017-09-25 20:10:38.997900156 +0000
|+++ src/routeprintout.cpp
--------------------------
Patching file src/routeprintout.cpp using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 75 (offset -3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_wxcurl_base.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/opencpn/patches/patch-src_wxcurl_base.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_wxcurl_base.cpp,v 1.1 2019/03/25 11:57:29 bouyer Exp $
|
|--- src/wxcurl/base.cpp.orig	2019-02-22 14:45:09.299106561 +0100
|+++ src/wxcurl/base.cpp	2019-02-22 14:45:12.375254626 +0100
--------------------------
Patching file src/wxcurl/base.cpp using Plan A...
Hunk #1 succeeded at 28.
done
===> Creating toolchain wrappers for opencpn-5.0.0nb30
===> Configuring for opencpn-5.0.0nb30
=> replace /usr/local with /opt/pkg
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "plugins/chartdldr_pi/CMakeLists.txt".
INFO: [subst.mk:cmake] Nothing changed in "plugins/dashboard_pi/CMakeLists.txt".
INFO: [subst.mk:cmake] Nothing changed in "plugins/grib_pi/CMakeLists.txt".
INFO: [subst.mk:cmake] Nothing changed in "plugins/wmm_pi/CMakeLists.txt".
INFO: [subst.mk:cmake] Nothing changed in "plugins/CMakeLists.txt".
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:62 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/geography/opencpn/work/.cwrapper/bin/gcc - skipped
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/geography/opencpn/work/.cwrapper/bin/g++ - skipped
-- cmake version: 3.28.3
-- Setting C++11 standard via cmake standard mechanism
-- *** Build Architecture is x86_64
-- *** Staging to build opencpn 5.0.0 ***
-- *** Package will include documentation ***
-- *** Package will include GSHHS basechart level: CRUDE ***
-- *** Package will include tide and current data ***
-- Found OpenGL: /opt/pkg/lib/libGL.so   
-- Found OpenGL....
--     GL Lib: /opt/pkg/lib/libGL.so/opt/pkg/lib/libGLU.so
--     GL Include: /opt/pkg/include
--     Revised GL Lib: /opt/pkg/lib/libGL.so
--     Adding local GLU
CMake Deprecation Warning at src/glu/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


--     Revised GL Lib (with local): GLU_static/opt/pkg/lib/libGL.so
--     Adding local LIBTESS2
CMake Deprecation Warning at src/libtess2/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


--     Revised EXTRA_LIBS (with local libtess2): TESS2_static
CMake Warning (dev) at CMakeLists.txt:532 (set):
  implicitly converting 'VERSION' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

--  Revised wxWidgets Libraries: 
-- 
-- *** Staging to build opencpn  ***
-- Build type: Release
-- *** Will install to /opt/pkg  ***
-- Using new serial library...
-- Found CURL: /opt/pkg/lib/libcurl.so (found version "8.6.0")  
-- Found PkgConfig: /home/pbulk/build/geography/opencpn/work/.tools/bin/pkg-config (found version "2.1.1") 
-- Checking for one of the modules 'libwxcurl;wxcurl'
-- Building with bundled wxcurl
-- CURL_LIBRARIES:/opt/pkg/lib/libcurl.so
-- SVG support enabled...
--  Cairo include directory found: /opt/pkg/include/cairo
--  Cairo library found: /opt/pkg/lib/libcairo.so
-- Found CAIRO: /opt/pkg/include/cairo  
-- Found CAIRO_EXTRAS: /opt/pkg/lib/libpangocairo-1.0.so  
-- Cairo Extra Libraries: /opt/pkg/lib/libpangocairo-1.0.so/opt/pkg/lib/libpangoft2-1.0.so/opt/pkg/lib/libpangoxft-1.0.so/opt/pkg/lib/libgdk_pixbuf-2.0.so
-- Found EXPAT: /opt/pkg/lib/libexpat.so (found version "2.6.0") 
-- Found EXIF: /opt/pkg/lib/libexif.so (found version "0.6.24") 
-- Checking for one of the modules 'libwxsvg;wxsvg'
-- Building with bundled wxsvg includes
-- Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIBCONFIG_INCLUDE_DIR) 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.41
-- Found GTK3: /opt/pkg/include/gtk-3.0;/opt/pkg/include;/opt/pkg/include/pango-1.0;/opt/pkg/include/cairo;/opt/pkg/include/gdk-pixbuf-2.0;/opt/pkg/include/dbus-1.0;/opt/pkg/lib/dbus-1.0/include;/opt/pkg/include/atk-1.0;/opt/pkg/include/harfbuzz;/opt/pkg/include/freetype2;/opt/pkg/include/glib-2.0;/opt/pkg/lib/glib-2.0/include;/opt/pkg/include/libpng16;/opt/pkg/include/pixman-1;/opt/pkg/include/libdrm;/opt/pkg/include/at-spi2-atk/2.0;/opt/pkg/include/at-spi-2.0;/opt/pkg/include/fribidi;/opt/pkg/include/gio-unix-2.0  
-- Building against GTK3...
CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/FindwxWidgets.cmake:728 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'wxWidgets_USE_DEBUG'.
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.28/Modules/FindwxWidgets.cmake:787 (WX_CONFIG_SELECT_QUERY_BOOL)
  CMakeLists.txt:1067 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) 
-- Could not find wxWidgets webview add-on
-- Found wxWidgets: -L/opt/pkg/lib;-pthreads;;;-lwx_gtk3u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0 (found version "3.0.5") 
-- Found wxWidgets...
--  wxWidgets Include: /opt/pkg/lib/wx/include/gtk3-unicode-3.0;/opt/pkg/include/wx-3.0
--  wxWidgets Libraries: -L/opt/pkg/lib;-pthreads;;;-lwx_gtk3u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0
--  SQLite3 include directory found: /opt/pkg/include
--  SQLite3 runtime library: /opt/pkg/lib/libsqlite3.so
-- Found SQLite3 dev environment.
-- SQLite3 version is 3045001
-- Found Gettext: /opt/pkg/bin/msgmerge (found version "0.22.4") 
-- Found BZip2: /opt/pkg/lib/libbz2.so (found version "1.0.8") 
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1")  
-- Found X11: /opt/pkg/include   
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - not found
-- Looking for connect in socket
-- Looking for connect in socket - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found TinyXML: /opt/pkg/include  
-- Looking for lzma_auto_decoder in /opt/pkg/lib/liblzma.so
-- Looking for lzma_auto_decoder in /opt/pkg/lib/liblzma.so - found
-- Looking for lzma_easy_encoder in /opt/pkg/lib/liblzma.so
-- Looking for lzma_easy_encoder in /opt/pkg/lib/liblzma.so - found
-- Looking for lzma_lzma_preset in /opt/pkg/lib/liblzma.so
-- Looking for lzma_lzma_preset in /opt/pkg/lib/liblzma.so - found
-- Found LibLZMA: /opt/pkg/lib/liblzma.so (found version "5.4.6") 
-- Building with lzma support
-- Found Portaudio: /opt/pkg/lib/portaudio2/libportaudio.so
-- Portaudio Found
-- Checking for module 'sndfile'
--   Found sndfile, version 1.2.2
-- Found LibSndFile: /opt/pkg/lib/libsndfile.so  
-- libsndfile Found
-- Building with system tinyxml
-- S57 ENC support: enabled
-- Garmin Host Mode support: enabled
-- Checking for one of the modules 'liblz4;lz4'
-- Building with bundled lz4
-- Compiling texture compression library with sse support
-- Found LibELF...
--     ELF Lib: /usr/include
--     ELF Include: /usr/lib/64/libelf.so
-- 
CMake Deprecation Warning at plugins/CMakeLists.txt:23 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- *** Staging to build PlugIns ***
CMake Deprecation Warning at plugins/chartdldr_pi/CMakeLists.txt:8 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Build type: Release
-- *** Staging to build chartdldr_pi ***
-- Found OpenGL...
--     Lib: /opt/pkg/lib/libGL.so/opt/pkg/lib/libGLU.so
--     Include: /opt/pkg/include
-- Found LibArchive: /opt/pkg/lib/libarchive.so (found version "3.7.2") 
-- Chartdldr_pi going to use LibArchive...
-- Checking for one of the modules 'libunarr;unarr'
-- Building with bundled unarr
-- Chartdldr_pi building with system tinyxml
-- *** Added plugin: /home/pbulk/build/geography/opencpn/work/OpenCPN-5.0.0/plugins/chartdldr_pi
CMake Deprecation Warning at plugins/dashboard_pi/CMakeLists.txt:23 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- 
-- *** Staging to build dashboard_pi ***
-- *** Added plugin: /home/pbulk/build/geography/opencpn/work/OpenCPN-5.0.0/plugins/dashboard_pi
CMake Deprecation Warning at plugins/grib_pi/CMakeLists.txt:22 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- *** Staging to build grib_pi ***
-- *** Added plugin: /home/pbulk/build/geography/opencpn/work/OpenCPN-5.0.0/plugins/grib_pi
CMake Deprecation Warning at plugins/wmm_pi/CMakeLists.txt:8 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Build type: Release
-- *** Staging to build wmm_pi ***
-- Found OpenGL...
--     Lib: /opt/pkg/lib/libGL.so/opt/pkg/lib/libGLU.so
--     Include: /opt/pkg/include
-- Found OpenGL...
--     Lib: /opt/pkg/lib/libGL.so/opt/pkg/lib/libGLU.so
--     Include: /opt/pkg/include
-- *** Added plugin: /home/pbulk/build/geography/opencpn/work/OpenCPN-5.0.0/plugins/wmm_pi
-- Writing spec file...
-- Configuring done (38.1s)
-- Generating done (0.3s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_PKGSRC_BUILD_FLAGS


-- Build files have been written to: /home/pbulk/build/geography/opencpn/work/OpenCPN-5.0.0
=> Rewrite cmake Dependencies files