=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for etlegacy-2.81.0/etlegacy-libs.tar.gz
=> Checksum SHA512 OK for etlegacy-2.81.0/etlegacy-libs.tar.gz
=> Checksum BLAKE2s OK for etlegacy-2.81.0/etlegacy.tar.gz
=> Checksum SHA512 OK for etlegacy-2.81.0/etlegacy.tar.gz
===> Installing dependencies for etlegacy-2.81.0nb2
==========================================================================
The supported build options for etlegacy are:

	freetype lua ogg sqlite3 theora

The currently selected options are:

	freetype lua ogg sqlite3 theora

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

	PKG_OPTIONS.etlegacy (not defined)

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

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * READLINE_DEFAULT = editline
        * 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
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=3.18: found cmake-3.27.6
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.35: found x11-links-1.35
=> Full dependency minizip>=1.2.11: found minizip-1.3
=> Full dependency cJSON>=1.7.15: found cJSON-1.7.16
=> Full dependency curl>=8.2.1nb1: found curl-8.3.0
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6nb1
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.2
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.23.1nb2
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.28.3
=> Full dependency jpeg>=9: found jpeg-9e
===> 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 etlegacy-2.81.0nb2
===> Extracting for etlegacy-2.81.0nb2
/bin/mv /scratch/work/games/etlegacy/work/etlegacy-libs-f04f846898a92d36fd9cfe7425b1ab4d31bca794/*  /scratch/work/games/etlegacy/work/etlegacy-2.81.0/libs
===> Patching for etlegacy-2.81.0nb2
=> Applying pkgsrc patches for etlegacy-2.81.0nb2
===> Creating toolchain wrappers for etlegacy-2.81.0nb2
===> Configuring for etlegacy-2.81.0nb2
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
-- 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/games/etlegacy/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/games/etlegacy/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done

  ███████╗████████╗   ██╗     ███████╗ ██████╗  █████╗  ██████╗██╗   ██╗
  ██╔════╝╚══██╔══╝██╗██║     ██╔════╝██╔════╝ ██╔══██╗██╔════╝╚██╗ ██╔╝
  █████╗     ██║   ╚═╝██║     █████╗  ██║  ███╗███████║██║      ╚████╔╝
  ██╔══╝     ██║   ██╗██║     ██╔══╝  ██║   ██║██╔══██║██║       ╚██╔╝
  ███████╗   ██║   ╚═╝███████╗███████╗╚██████╔╝██║  ██║╚██████╗   ██║
  ╚══════╝   ╚═╝      ╚══════╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝   ╚═╝

-- Performing Test SUPPORT_VISIBILITY
-- Performing Test SUPPORT_VISIBILITY - Success
-- System: NetBSD-8.0 (i386)
-- Lib arch: 
-- Build type:      Release
-- Install path:    /usr/pkg
-- Compiler flags:
-- - C             -O2 -DIOAPI_NO_64 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/lua-5.4 -I/usr/include/readline -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/SDL2 -fdiagnostics-color=always -fvisibility=hidden
-- - C++           -O2 -DIOAPI_NO_64 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -I/usr/pkg/include/lua-5.4 -I/usr/include/readline -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/SDL2 -fdiagnostics-color=always
-- Linker flags:
-- - Executable    -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
-- - Module        -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
-- - Shared        -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
-- File version: 2.81.0.0
-- Version: 2.81.0.0 and int version: 281000000
-- Using bundled libraries located at /scratch/work/games/etlegacy/work/etlegacy-2.81.0/libs
-- Libraries rescanned
-- Found X11: /usr/X11R7/include   
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - 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 GLEW: /usr/pkg/lib/libGLEW.so  
-- Using legacy OpenGL instead of GLVND
-- Found OpenGL: /usr/X11R7/lib/libGL.so  found components: OpenGL 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL2: /usr/pkg/lib/libSDL2main.a;/usr/pkg/lib/libSDL2.so;-lpthread (found suitable version "2.28.3", minimum required is "2.0.8") 
-- Could NOT find JPEGTURBO (missing: JPEG_INCLUDE_DIR) 
-- Found JPEG: /usr/pkg/lib/libjpeg.so (found suitable version "90", minimum required is "8") 
-- Looking for jpeg_mem_src
-- Looking for jpeg_mem_src - found
-- Found Freetype: /usr/pkg/lib/libfreetype.so (found version "2.13.2") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10")  
-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.40") 
-- Found OpenAL: /usr/pkg/lib/libopenal.so (Required is at least version "1.14") 
-- Found Vorbis: /usr/pkg/include  
-- Found Theora: /usr/pkg/lib/libtheora.so  
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.3.0")  
-- Found OpenSSL: /usr/pkg/lib/libcrypto.so (found version "1.1.1w")  
-- Found SQLite3: /usr/lib/libsqlite3.so (found version "3.17.0") 
-- Found Lua: /usr/pkg/lib/liblua5.4.so;/usr/lib/libm.so (found suitable version "5.4.6", minimum required is "5.4") 
-- Found ZLIB: /usr/lib/libz.so (found suitable version "1.2.10", minimum required is "1.2.8")  
-- Found MiniZip: /usr/pkg/lib/libminizip.so
-- Looking for pow in m
-- Looking for pow in m - found
-- ***********************************************************
-- Genuine W:ET files are not copied - ET: Legacy won't start!
-- In order to start the game, copy the pak0-2.pk3 asset files
-- to share/etlegacy/etmain
-- ***********************************************************
-- Configuring done (6.3s)
-- Generating done (0.3s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR


-- Build files have been written to: /scratch/work/games/etlegacy/work/etlegacy-2.81.0
=> Rewrite cmake Dependencies files