=> 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 gtkam-0.1.18.tar.gz
=> Checksum RMD160 OK for gtkam-0.1.18.tar.gz
=> Checksum SHA512 OK for gtkam-0.1.18.tar.gz
===> Installing dependencies for gtkam-0.1.18nb31
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.64.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb4
=> Tool dependency perl>=5.0: found perl-5.30.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2020.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.24nb1
=> Full dependency libgphoto2>=2.5.8nb3: found libgphoto2-2.5.8nb3
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.6
=> Full dependency libexif-gtk>=0.3.5nb35: found libexif-gtk-0.3.5nb35
=> Full dependency gtk2+>=2.24.32nb13: found gtk2+-2.24.32nb13
=> Full dependency rarian>=0.6.0: found rarian-0.8.1nb4
===> Overriding tools for gtkam-0.1.18nb31
===> Extracting for gtkam-0.1.18nb31
===> Patching for gtkam-0.1.18nb31
=> Applying pkgsrc patches for gtkam-0.1.18nb31
=> Verifying /data/pkgsrc/graphics/gtkam/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/graphics/gtkam/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.7 2007/08/19 10:53:19 obache Exp $
|
|--- src/gtkam-chooser.c.orig	2006-12-14 18:38:12.000000000 +0000
|+++ src/gtkam-chooser.c
--------------------------
Patching file src/gtkam-chooser.c using Plan A...
Hunk #1 succeeded at 404 (offset -1 lines).
done
=> Verifying /data/pkgsrc/graphics/gtkam/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/graphics/gtkam/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.4 2007/08/19 10:53:19 obache Exp $
|
|--- src/gtkam-delete.c.orig	2006-12-14 18:38:12.000000000 +0000
|+++ src/gtkam-delete.c
--------------------------
Patching file src/gtkam-delete.c using Plan A...
Hunk #1 succeeded at 176 (offset -2 lines).
Hunk #2 succeeded at 193 (offset -2 lines).
Hunk #3 succeeded at 223 (offset -2 lines).
done
=> Verifying /data/pkgsrc/graphics/gtkam/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/graphics/gtkam/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.2 2007/08/19 10:53:19 obache Exp $
|
|--- src/gtkam-list.c.orig	2006-12-14 18:38:12.000000000 +0000
|+++ src/gtkam-list.c
--------------------------
Patching file src/gtkam-list.c using Plan A...
Hunk #1 succeeded at 923 (offset -43 lines).
Hunk #2 succeeded at 939 (offset -43 lines).
Hunk #3 succeeded at 949 (offset -43 lines).
done
===> Creating toolchain wrappers for gtkam-0.1.18nb31
===> Configuring for gtkam-0.1.18nb31
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config file for builtin expat package.
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] omf-install/Makefile.in:464: 	-if test "x$(_ENABLE_SK)" == "xtrue"; then \
ERROR: [check-portability.awk] omf-install/Makefile.in:473: 	-if test "x$(_ENABLE_SK)" == "xtrue"; 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/graphics/gtkam
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/graphics/gtkam