=> 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 VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz
=> Checksum RMD160 OK for VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz
=> Checksum SHA512 OK for VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz
===> Installing dependencies for vtk-4.2.6nb6
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cmake>=2.8.5nb1: found cmake-3.17.1
=> 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 MesaLib>=20.0.1nb1: found MesaLib-20.0.4nb1
=> Full dependency glu>=7.11.2: found glu-9.0.1
=> Full dependency libXt>=1.0.0: found libXt-1.2.0
===> Overriding tools for vtk-4.2.6nb6
===> Extracting for vtk-4.2.6nb6
===> Patching for vtk-4.2.6nb6
=> Applying pkgsrc patches for vtk-4.2.6nb6
=> Verifying /data/pkgsrc/graphics/vtk/../vtk/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/graphics/vtk/../vtk/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2006/09/24 15:53:06 joerg Exp $
|
|--- IO/vtkBMPReader.cxx.orig	2003-02-25 16:59:24.000000000 +0000
|+++ IO/vtkBMPReader.cxx
--------------------------
Patching file IO/vtkBMPReader.cxx using Plan A...
Hunk #1 succeeded at 375.
Hunk #2 succeeded at 424.
Hunk #3 succeeded at 469.
done
=> Verifying /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2006/09/24 15:53:06 joerg Exp $
|
|--- IO/vtkImageReader.cxx.orig	2006-09-24 16:29:56.000000000 +0000
|+++ IO/vtkImageReader.cxx
--------------------------
Patching file IO/vtkImageReader.cxx using Plan A...
Hunk #1 succeeded at 191.
Hunk #2 succeeded at 233.
Hunk #3 succeeded at 298.
done
=> Verifying /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.1 2007/02/23 20:21:09 drochner Exp $
|
|--- Rendering/vtkVolumeRayCastMapper.h.orig	2007-02-23 16:09:27.000000000 +0100
|+++ Rendering/vtkVolumeRayCastMapper.h
--------------------------
Patching file Rendering/vtkVolumeRayCastMapper.h using Plan A...
Hunk #1 succeeded at 80.
done
=> Verifying /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2007/02/23 20:21:09 drochner Exp $
|
|--- Rendering/vtkXRenderWindowInteractor.h.orig	2007-02-23 16:13:26.000000000 +0100
|+++ Rendering/vtkXRenderWindowInteractor.h
--------------------------
Patching file Rendering/vtkXRenderWindowInteractor.h using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.2 2007/06/18 19:15:23 joerg Exp $
|
|--- CMakeLists.txt.orig	2007-06-18 18:03:51.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 710.
done
=> Verifying /data/pkgsrc/graphics/vtk/../vtk/patches/patch-af
=> Applying pkgsrc patch /data/pkgsrc/graphics/vtk/../vtk/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1 2007/06/18 17:58:36 joerg Exp $
|
|--- VTKConfig.cmake.in.orig	2007-06-17 16:07:21.000000000 +0000
|+++ VTKConfig.cmake.in
--------------------------
Patching file VTKConfig.cmake.in using Plan A...
Hunk #1 succeeded at 25.
done
=> Verifying /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ag
=> Applying pkgsrc patch /data/pkgsrc/graphics/vtk/../vtk/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.1 2007/07/30 09:51:03 joerg Exp $
|
|--- Hybrid/vtkVRMLImporter.cxx.orig	2007-07-30 08:46:08.000000000 +0000
|+++ Hybrid/vtkVRMLImporter.cxx
--------------------------
Patching file Hybrid/vtkVRMLImporter.cxx using Plan A...
Hunk #1 succeeded at 59.
Hunk #2 succeeded at 493.
Hunk #3 succeeded at 4172.
done
===> Creating toolchain wrappers for vtk-4.2.6nb6
===> Configuring for vtk-4.2.6nb6
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] Utilities/Doxygen/doc_makeall.sh.in:340: if test "x$DOWNLOAD_VTK_TAGFILE" == "xON" ; then
ERROR: [check-portability.awk] Utilities/Doxygen/doc_makeall.sh.in:382: if test "x$COMPILE_HTML_HELP" == "xON" ; then
ERROR: [check-portability.awk] Utilities/Doxygen/doc_makeall.sh.in:397: if test "x$CREATE_HTML_TARZ_ARCHIVE" == "xON" ; then
ERROR: [check-portability.awk] Utilities/Doxygen/doc_makeall.sh.in:422:     if test "x$DOWNLOAD_VTK_TAGFILE" == "xON" ; then
ERROR: [check-portability.awk] Utilities/Doxygen/doc_makeall.sh.in:428:     if test "x$COMPILE_HTML_HELP" == "xON" ; then
ERROR: [check-portability.awk] Utilities/Doxygen/doc_makeall.sh.in:430:             if test "x$ALLOW_ERASE_OUTPUT_DIRECTORY" == "xON" ; 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/vtk
*** Error code 1

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