=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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 gnus-5.10.10.tar.gz
=> Checksum RMD160 OK for gnus-5.10.10.tar.gz
=> Checksum SHA512 OK for gnus-5.10.10.tar.gz
===> Installing dependencies for gnus-5.10.10
==========================================================================
The following variables will affect the build process of this package,
gnus-5.10.10.  Their current value is shown below:

        * EMACS_TYPE = emacs26

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

        * EMACS_BIN = /usr/pkg/bin/emacs
        * EMACS_ETCPREFIX = /usr/pkg/share
        * EMACS_FLAVOR = emacs
        * EMACS_INFOPREFIX = /usr/pkg/info
        * EMACS_LISPPREFIX = /usr/pkg/share/emacs/site-lisp
        * EMACS_PKGNAME_PREFIX (defined, but empty)
        * EMACS_VERSION_MAJOR = 26
        * EMACS_VERSION_MICRO (defined, but empty)
        * EMACS_VERSION_MINOR = 3

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 cwrappers>=20150314: found cwrappers-20180325
=> Full dependency digest>=20010101: found digest-20190127
=> Full dependency emacs26>=26.1<27: found emacs26-26.3nb4
===> Overriding tools for gnus-5.10.10
===> Extracting for gnus-5.10.10
===> Patching for gnus-5.10.10
=> Applying pkgsrc patches for gnus-5.10.10
=> Verifying /data/pkgsrc/mail/gnus/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/mail/gnus/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.4 2006/11/10 17:57:51 perry Exp $
|
|NetBSD doesn't have a sha1sum, use digest instead
|
|--- lisp/sha1.el.orig	2006-02-07 23:18:30.000000000 -0500
|+++ lisp/sha1.el
--------------------------
Patching file lisp/sha1.el using Plan A...
Hunk #1 succeeded at 73.
done
===> Creating toolchain wrappers for gnus-5.10.10
===> Configuring for gnus-5.10.10
=> Convert install to /data/scratch/mail/gnus/work/.destdir
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] texi/Makefile.in:69: 	if [ "$(PAPERTYPE)" == a4 ]; then \
ERROR: [check-portability.awk] texi/Makefile.in:79: 	if [ "$(PAPERTYPE)" == a4 ]; then \

Explanation:
===========================================================================
The "test" command, as well as the "[" command, are not required to know
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the
"==" operator, the result will be "false" instead of "true". This can
lead to unexpected behavior.

There are two ways to fix this error message. If the file that contains
the "test ==" is needed for building the package, you should create a
patch for it, replacing the "==" operator with "=". If the file is not
needed, add its name to the CHECK_PORTABILITY_SKIP variable in the
package Makefile.
===========================================================================

*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/mail/gnus
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/mail/gnus