=> Bootstrap dependency digest>=20010302: found digest-20180917
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for M2Crypto-0.31.0.tar.gz
=> Checksum RMD160 OK for M2Crypto-0.31.0.tar.gz
=> Checksum SHA512 OK for M2Crypto-0.31.0.tar.gz
===> Installing dependencies for py36-m2crypto-0.31.0
==========================================================================
The following variables will affect the build process of this package,
py36-m2crypto-0.31.0.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 27
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * PYPACKAGE = python36

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency swig>=1.3.31<2.0: found swig-1.3.38nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency py36-setuptools>=0.8: found py36-setuptools-40.6.3
=> Full dependency python36>=3.6.0: found python36-3.6.7
===> Overriding tools for py36-m2crypto-0.31.0
===> Extracting for py36-m2crypto-0.31.0
===> Patching for py36-m2crypto-0.31.0
=> Applying pkgsrc patches for py36-m2crypto-0.31.0
=> Verifying /data/pkgsrc/security/py-m2crypto/patches/patch-SWIG___m2crypto__wrap.c
=> Applying pkgsrc patch /data/pkgsrc/security/py-m2crypto/patches/patch-SWIG___m2crypto__wrap.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-SWIG___m2crypto__wrap.c,v 1.2 2018/02/09 08:44:50 adam Exp $
|
|Avoid conflict with hmac() definition from stdlib.h (NetBSD).
|
|--- SWIG/_m2crypto_wrap.c.orig	2018-02-08 18:54:48.000000000 +0000
|+++ SWIG/_m2crypto_wrap.c
--------------------------
Patching file SWIG/_m2crypto_wrap.c using Plan A...
Hunk #1 succeeded at 6010 (offset 61 lines).
Hunk #2 succeeded at 14125 (offset 515 lines).
done
=> Verifying /data/pkgsrc/security/py-m2crypto/patches/patch-setup.py
=> Applying pkgsrc patch /data/pkgsrc/security/py-m2crypto/patches/patch-setup.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-setup.py,v 1.4 2018/02/09 08:44:50 adam Exp $
|
|Don't pass "-includeall" to swig.  It causes compiler-dependent
|tests in system include files to break (e.g. "#ifdef __GNUC__"
|doesn't work properly.)
|
|--- setup.py.orig	2018-02-08 18:54:48.000000000 +0000
|+++ setup.py
--------------------------
Patching file setup.py using Plan A...
Hunk #1 succeeded at 196 (offset 4 lines).
done
===> Creating toolchain wrappers for py36-m2crypto-0.31.0
===> Configuring for py36-m2crypto-0.31.0
=> Checking for portability problems in extracted files