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

        * CURSES_DEFAULT = curses
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

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

        * CURSES_TYPE = curses
        * 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 cmake>=3.18: found cmake-3.28.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency cpu_features>=0.6.0: found cpu_features-0.7.0
=> Full dependency libsodium>=0.3: found libsodium-1.0.19
===> 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 softether-5.02.5181
===> Extracting for softether-5.02.5181
===> Patching for softether-5.02.5181
=> Applying pkgsrc patches for softether-5.02.5181
===> Creating toolchain wrappers for softether-5.02.5181
===> Configuring for softether-5.02.5181
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
-- The C compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pbulk/work/net/softether/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/auxv.h
-- Looking for sys/auxv.h - not found
-- Build date: 31/03/2024
-- Build time: 23:09:56
-- Found PkgConfig: /pbulk/work/net/softether/work/.tools/bin/pkg-config (found version "2.1.1") 
-- Checking for one of the modules 'libsodium'
-- Found Curses: /usr/lib/libcurses.so  
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1t")  
-- Looking for EVP_PKEY_get_raw_public_key
-- Looking for EVP_PKEY_get_raw_public_key - found
-- Looking for SSL_CTX_set_num_tickets
-- Looking for SSL_CTX_set_num_tickets - found
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10")  
-- 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  
-- Configuring done (1.6s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIB_READLINE
    linked by target "cedar" in directory /pbulk/work/net/softether/work/SoftEtherVPN-5.02.5181/src/Cedar

-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/net/softether
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/softether