=> 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 ngrep-1.45.tar.bz2
=> Checksum RMD160 OK for ngrep-1.45.tar.bz2
=> Checksum SHA512 OK for ngrep-1.45.tar.bz2
===> Installing dependencies for ngrep-1.45nb1
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Overriding tools for ngrep-1.45nb1
===> Extracting for ngrep-1.45nb1
===> Patching for ngrep-1.45nb1
=> Applying pkgsrc patches for ngrep-1.45nb1
=> Verifying /data/pkgsrc/net/ngrep/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/net/ngrep/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.8 2006/11/29 10:28:48 adam Exp $
|
|--- configure.orig	2006-11-15 04:40:56.000000000 +0100
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4021.
Hunk #2 succeeded at 4248.
done
=> Verifying /data/pkgsrc/net/ngrep/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/net/ngrep/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.7 2014/01/14 22:43:19 tron Exp $
|
|1.) Install manual pages in correct directory.
|2.) Fix build with version 4.0 of GNU make.
|
|--- Makefile.in.orig	2006-11-28 13:35:37.000000000 +0000
|+++ Makefile.in	2014-01-14 22:40:38.000000000 +0000
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 63.
done
=> Verifying /data/pkgsrc/net/ngrep/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/net/ngrep/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.3 2006/03/14 02:36:12 joerg Exp $
|
|--- ngrep.c.orig	2006-03-14 02:32:02.000000000 +0000
|+++ ngrep.c
--------------------------
Patching file ngrep.c using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/pkgsrc/net/ngrep/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/net/ngrep/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2006/10/07 06:54:37 rillig Exp $
|
|--- pcre-5.0/configure.orig	2006-10-07 08:52:09.000000000 +0200
|+++ pcre-5.0/configure	2006-10-07 08:52:42.000000000 +0200
--------------------------
Patching file pcre-5.0/configure using Plan A...
Hunk #1 succeeded at 19418.
done
===> Creating toolchain wrappers for ngrep-1.45nb1
===> Configuring for ngrep-1.45nb1
=> 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] pcre-5.0/configure.in:121: if test "$enableval" == "yes"; 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/net/ngrep
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/ngrep