=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for sslsplit-0.4.10nb1
sh: pkg-config: not found
SSLsplit 0.4.10
via pkg-config: 
OPENSSL_BASE:   /usr
LIBEVENT_BASE:  /usr
Build options:  -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF
gcc -c -I/usr/include -isystem/usr/include -isystem/usr/include -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.4.10\"" -D"BUILD_DATE=\"2020-03-07\"" -D"FEATURES=\"-DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachessess.o cachessess.c
cc1: warning: -fstack-protector not supported for this target
gcc -c -I/usr/include -isystem/usr/include -isystem/usr/include -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.4.10\"" -D"BUILD_DATE=\"2020-03-07\"" -D"FEATURES=\"-DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c
cc1: warning: -fstack-protector not supported for this target
pxythrmgr.c: In function 'pxy_thrmgr_run':
pxythrmgr.c:121:5: warning: nonnull argument 'ctx' compared to NULL [-Wnonnull-compare]
  if (!ctx)
     ^
pxythrmgr.c: In function 'pxy_thrmgr_free':
pxythrmgr.c:206:5: warning: nonnull argument 'ctx' compared to NULL [-Wnonnull-compare]
  if (!ctx)
     ^
gcc -c -I/usr/include -isystem/usr/include -isystem/usr/include -D_GNU_SOURCE -D"BNAME=\"sslsplit\"" -D"PNAME=\"SSLsplit\"" -D"VERSION=\"0.4.10\"" -D"BUILD_DATE=\"2020-03-07\"" -D"FEATURES=\"-DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF\"" -D"BUILD_INFO=\"V:FILE\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.c
cc1: warning: -fstack-protector not supported for this target
ssl.c: In function 'ssl_thr_id_cb':
ssl.c:280:32: warning: unused parameter 'id' [-Wunused-parameter]
 ssl_thr_id_cb(CRYPTO_THREADID *id)
                                ^~
ssl.c: In function 'ssl_fini':
ssl.c:395:2: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
  ERR_remove_state(0); /* current thread */
  ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/e_os2.h:13:0,
                 from /usr/include/openssl/ssl.h:15,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/err.h:261:1: note: declared here
 DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
 ^
ssl.c: In function 'ssl_ssl_state_to_str':
ssl.c:434:19: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
                ssl->state,
                   ^~
ssl.c:437:30: error: 'SSL_ST_BEFORE' undeclared (first use in this function); did you mean 'TLS_ST_BEFORE'?
                (ssl->state & SSL_ST_BEFORE) ? "SSL_ST_BEFORE|" : "",
                              ^~~~~~~~~~~~~
                              TLS_ST_BEFORE
ssl.c:437:30: note: each undeclared identifier is reported only once for each function it appears in
ssl.c: In function 'ssl_tmp_dh_callback':
ssl.c:551:6: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}'
    dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), NULL);
      ^~
ssl.c: In function 'ssl_rand':
ssl.c:674:2: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations]
  rv = RAND_pseudo_bytes((unsigned char*)p, sz);
  ^~
In file included from /usr/include/openssl/e_os2.h:13:0,
                 from /usr/include/openssl/ssl.h:15,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rand.h:44:1: note: declared here
 DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
 ^
ssl.c: In function 'ssl_x509_forge':
ssl.c:798:20: warning: implicit declaration of function 'M_ASN1_IA5STRING_new'; did you mean 'ASN1_IA5STRING_new'? [-Wimplicit-function-declaration]
    gn->d.dNSName = M_ASN1_IA5STRING_new();
                    ^~~~~~~~~~~~~~~~~~~~
                    ASN1_IA5STRING_new
ssl.c:798:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    gn->d.dNSName = M_ASN1_IA5STRING_new();
                  ^
ssl.c:822:29: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
  switch (EVP_PKEY_type(cakey->type)) {
                             ^~
ssl.c:830:9: warning: implicit declaration of function 'EVP_dss1'; did you mean 'EVP_sm3'? [-Wimplicit-function-declaration]
    md = EVP_dss1();
         ^~~~~~~~
         EVP_sm3
ssl.c:830:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    md = EVP_dss1();
       ^
ssl.c:835:9: warning: implicit declaration of function 'EVP_ecdsa'; did you mean 'EVP_rc4'? [-Wimplicit-function-declaration]
    md = EVP_ecdsa();
         ^~~~~~~~~
         EVP_rc4
ssl.c:835:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    md = EVP_ecdsa();
       ^
ssl.c: In function 'ssl_x509chain_load':
ssl.c:909:40: error: dereferencing pointer to incomplete type 'SSL_CTX {aka struct ssl_ctx_st}'
  for (int i = 0; i < sk_X509_num(tmpctx->extra_certs); i++) {
                                        ^~
ssl.c: In function 'ssl_key_genrsa':
ssl.c:1026:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
  rsa = RSA_generate_key(keysize, 3, NULL, NULL);
  ^~~
In file included from /usr/include/openssl/e_os2.h:13:0,
                 from /usr/include/openssl/ssl.h:15,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rsa.h:234:1: note: declared here
 DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
 ^
ssl.c: In function 'ssl_dh_refcount_inc':
ssl.c:1092:2: warning: implicit declaration of function 'CRYPTO_add'; did you mean 'CRYPTO_free'? [-Wimplicit-function-declaration]
  CRYPTO_add(&dh->references, 1, CRYPTO_LOCK_DH);
  ^~~~~~~~~~
  CRYPTO_free
ssl.c:1092:33: error: 'CRYPTO_LOCK_DH' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'?
  CRYPTO_add(&dh->references, 1, CRYPTO_LOCK_DH);
                                 ^~~~~~~~~~~~~~
                                 CRYPTO_LOCK
ssl.c: In function 'ssl_key_refcount_inc':
ssl.c:1107:34: error: 'CRYPTO_LOCK_EVP_PKEY' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'?
  CRYPTO_add(&key->references, 1, CRYPTO_LOCK_EVP_PKEY);
                                  ^~~~~~~~~~~~~~~~~~~~
                                  CRYPTO_LOCK
ssl.c: In function 'ssl_x509_refcount_inc':
ssl.c:1122:17: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'
  CRYPTO_add(&crt->references, 1, CRYPTO_LOCK_X509);
                 ^~
ssl.c:1122:34: error: 'CRYPTO_LOCK_X509' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'?
  CRYPTO_add(&crt->references, 1, CRYPTO_LOCK_X509);
                                  ^~~~~~~~~~~~~~~~
                                  CRYPTO_LOCK
At top level:
ssl.c:280:1: warning: 'ssl_thr_id_cb' defined but not used [-Wunused-function]
 ssl_thr_id_cb(CRYPTO_THREADID *id)
 ^~~~~~~~~~~~~
ssl.c:260:1: warning: 'ssl_thr_dyn_destroy_cb' defined but not used [-Wunused-function]
 ssl_thr_dyn_destroy_cb(struct CRYPTO_dynlock_value *dl,
 ^~~~~~~~~~~~~~~~~~~~~~
ssl.c:246:1: warning: 'ssl_thr_dyn_lock_cb' defined but not used [-Wunused-function]
 ssl_thr_dyn_lock_cb(int mode, struct CRYPTO_dynlock_value *dl,
 ^~~~~~~~~~~~~~~~~~~
ssl.c:232:1: warning: 'ssl_thr_dyn_create_cb' defined but not used [-Wunused-function]
 ssl_thr_dyn_create_cb(UNUSED const char *file, UNUSED int line)
 ^~~~~~~~~~~~~~~~~~~~~
ssl.c:218:1: warning: 'ssl_thr_locking_cb' defined but not used [-Wunused-function]
 ssl_thr_locking_cb(int mode, int type, UNUSED const char *file,
 ^~~~~~~~~~~~~~~~~~
gmake: *** [GNUmakefile:320: ssl.o] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/security/sslsplit
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/sslsplit