=> 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 mapserver-5.6.8.tar.gz
=> Checksum RMD160 OK for mapserver-5.6.8.tar.gz
=> Checksum SHA512 OK for mapserver-5.6.8.tar.gz
===> Installing dependencies for mapserver-5.6.8nb44
==========================================================================
The supported build options for mapserver are:

	fastcgi mysql pgsql x11

The currently selected options are:

	x11

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.mapserver (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mapserver-5.6.8nb44.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

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 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 libXpm>=3.5.4.2: found libXpm-3.5.13
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.9
=> Full dependency gdal-lib>=2.4.3nb6: found gdal-lib-2.4.3nb6
=> Full dependency geos>=3.3.4: found geos-3.8.1
=> Full dependency proj>=6.3.1nb1: found proj-6.3.1nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.37
=> Full dependency cairo>=1.16.0: found cairo-1.16.0
=> Full dependency freetype2>=2.8.1: found freetype2-2.10.1
=> Full dependency gd>=2.2.5nb2: found gd-2.3.0
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.10nb1
===> Overriding tools for mapserver-5.6.8nb44
===> Extracting for mapserver-5.6.8nb44
===> Patching for mapserver-5.6.8nb44
=> Applying pkgsrc patches for mapserver-5.6.8nb44
=> Verifying /data/pkgsrc/geography/mapserver/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/geography/mapserver/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2010/01/26 09:01:24 adam Exp $
|
|--- Makefile.in.orig	2009-06-07 09:52:59.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 239.
Hunk #2 succeeded at 286.
done
=> Verifying /data/pkgsrc/geography/mapserver/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/geography/mapserver/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.2 2018/09/29 15:05:03 tnn Exp $
|
|use correct --lib args to geos-config
|
|--- configure.orig	2011-10-04 15:01:41.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 9288.
Hunk #2 succeeded at 11029.
Hunk #3 succeeded at 12334.
done
=> Verifying /data/pkgsrc/geography/mapserver/patches/patch-mapserver.h
=> Applying pkgsrc patch /data/pkgsrc/geography/mapserver/patches/patch-mapserver.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mapserver.h,v 1.1 2012/12/24 21:09:47 joerg Exp $
|
|--- mapserver.h.orig	2012-12-23 17:16:27.000000000 +0000
|+++ mapserver.h
--------------------------
Patching file mapserver.h using Plan A...
Hunk #1 succeeded at 2614.
done
=> Verifying /data/pkgsrc/geography/mapserver/patches/patch-maputil.c
=> Applying pkgsrc patch /data/pkgsrc/geography/mapserver/patches/patch-maputil.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-maputil.c,v 1.1 2012/12/24 21:09:47 joerg Exp $
|
|--- maputil.c.orig	2012-12-23 17:18:02.000000000 +0000
|+++ maputil.c
--------------------------
Patching file maputil.c using Plan A...
Hunk #1 succeeded at 1876.
Hunk #2 succeeded at 1891.
Hunk #3 succeeded at 1899.
done
=> Verifying /data/pkgsrc/geography/mapserver/patches/patch-renderers_agg_include_agg__renderer__outline__aa.h
=> Applying pkgsrc patch /data/pkgsrc/geography/mapserver/patches/patch-renderers_agg_include_agg__renderer__outline__aa.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-renderers_agg_include_agg__renderer__outline__aa.h,v 1.1 2012/12/24 21:09:47 joerg Exp $
|
|--- renderers/agg/include/agg_renderer_outline_aa.h.orig	2009-05-01 07:06:05.000000000 +0000
|+++ renderers/agg/include/agg_renderer_outline_aa.h
--------------------------
Patching file renderers/agg/include/agg_renderer_outline_aa.h using Plan A...
Hunk #1 succeeded at 1365.
done
=> Verifying /data/pkgsrc/geography/mapserver/patches/patch-renderers_agg_include_agg__scanline__u.h
=> Applying pkgsrc patch /data/pkgsrc/geography/mapserver/patches/patch-renderers_agg_include_agg__scanline__u.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-renderers_agg_include_agg__scanline__u.h,v 1.1 2012/12/24 21:09:47 joerg Exp $
|
|--- renderers/agg/include/agg_scanline_u.h.orig	2012-12-23 17:09:02.000000000 +0000
|+++ renderers/agg/include/agg_scanline_u.h
--------------------------
Patching file renderers/agg/include/agg_scanline_u.h using Plan A...
Hunk #1 succeeded at 458.
done
===> Creating toolchain wrappers for mapserver-5.6.8nb44
===> Configuring for mapserver-5.6.8nb44
=> 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.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./mapscript/csharp/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./mapscript/java/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./mapscript/php3/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./mapscript/tcl/Makefile.in.
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] configure.in:964:     if test "$FT_BIN" == "no" ; 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/geography/mapserver
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/geography/mapserver