=> Bootstrap dependency digest>=20010302: found digest-20190127
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 quilt-0.66.tar.gz
=> Checksum RMD160 OK for quilt-0.66.tar.gz
=> Checksum SHA512 OK for quilt-0.66.tar.gz
===> Installing dependencies for quilt-0.66nb1
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency gsed>=3.0.2: found gsed-4.8
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency coreutils-[0-9]*: found coreutils-8.31
=> Full dependency patch>=2.4: found patch-2.7.6nb1
=> Full dependency bash-[0-9]*: found bash-5.0.16nb1
=> Full dependency perl>=5.0: found perl-5.30.2
===> Overriding tools for quilt-0.66nb1
===> Extracting for quilt-0.66nb1
===> Patching for quilt-0.66nb1
=> Applying pkgsrc patches for quilt-0.66nb1
=> Verifying /data/pkgsrc/devel/quilt/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/devel/quilt/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.2 2013/12/30 04:21:58 ryoon Exp $
|
|--- Makefile.in.orig	2013-12-08 09:40:42.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 283 (offset 8 lines).
done
===> Creating toolchain wrappers for quilt-0.66nb1
===> Configuring for quilt-0.66nb1
=> Fixing non-shellbang references to bash.
INFO: [subst.mk:bash] Ignoring non-existent file "./quilt/scripts/inspect.in".
=> Fixing path to configuration file.
INFO: [subst.mk:etc] Nothing changed in ./bin/guards.in.
INFO: [subst.mk:etc] Nothing changed in ./bin/patch-wrapper.in.
INFO: [subst.mk:etc] Nothing changed in ./bin/quilt.in.
INFO: [subst.mk:etc] Nothing changed in ./doc/Makefile.
INFO: [subst.mk:etc] Nothing changed in ./doc/README.EMACS.
INFO: [subst.mk:etc] Nothing changed in ./doc/README.in.
INFO: [subst.mk:etc] Nothing changed in ./doc/main.tex.
INFO: [subst.mk:etc] Ignoring non-text file "./doc/quilt.pdf".
INFO: [subst.mk:etc] Nothing changed in ./po/de.po.
INFO: [subst.mk:etc] Nothing changed in ./po/fr.po.
INFO: [subst.mk:etc] Nothing changed in ./po/ja.po.
INFO: [subst.mk:etc] Nothing changed in ./po/quilt.pot.
INFO: [subst.mk:etc] Nothing changed in ./po/ru.po.
=> 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
=> Replacing conf-bash interpreter in *.in */*.in */*/*.in.
INFO: [replace-interpreter] Nothing changed in Makefile.in.
INFO: [replace-interpreter] Nothing changed in quilt.spec.in.
INFO: [replace-interpreter] Nothing changed in bin/guards.in.
INFO: [replace-interpreter] Nothing changed in compat/date.in.
INFO: [replace-interpreter] Nothing changed in compat/getopt.in.
INFO: [replace-interpreter] Nothing changed in doc/README.in.
INFO: [replace-interpreter] Nothing changed in doc/quilt.1.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/dependency-graph.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/edmail.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/patchfns.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/remove-trailing-ws.in.
=> Checking for portability problems in extracted files
WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] compat/mktemp.in:7: 		try=${2%XXXXXX}$RANDOM
WARNING: [check-portability.awk] compat/mktemp.in:16: 		try=${1%XXXXXX}$RANDOM

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] quilt/scripts/patchfns.in:777: 	if [ ${PIPESTATUS[0]} == 2 -o ${PIPESTATUS[1]} == 1 ]
ERROR: [check-portability.awk] quilt/scripts/patchfns.in:926: 	[ ${prefix:0:1} == / ] || prefix=$PWD/$prefix

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: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] quilt/pop.in:99: 		[ ${prefix:0:1} == / ] || prefix=$PWD/$prefix

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/devel/quilt
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/devel/quilt