=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 postgis-2.4.0.tar.gz
=> Checksum RMD160 OK for postgis-2.4.0.tar.gz
=> Checksum SHA512 OK for postgis-2.4.0.tar.gz
===> Installing dependencies for postgresql92-postgis-2.4.0
==========================================================================
The following variables will affect the build process of this package,
postgresql92-postgis-2.4.0.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * 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

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency perl>=5.0: found perl-5.26.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.1nb2
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.7
=> Build dependency xproto>=7.0.9: found xproto-7.0.31
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.12
=> Build dependency xextproto>=7.0: found xextproto-7.3.0
=> Build dependency inputproto>=1.4: found inputproto-2.3.2
=> Build dependency cwrappers>=20150314: found cwrappers-20170611
=> Full dependency postgresql92-server>=0: found postgresql92-server-9.2.23
=> Full dependency CUnit>=2.1: found CUnit-2.1nb1
=> Full dependency ImageMagick>=7.0.5.0nb1: found ImageMagick-7.0.7.2
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.5
=> Full dependency libxslt>=1.1.28nb2: found libxslt-1.1.30
=> Full dependency gdal-lib>=2.0.3nb4: found gdal-lib-2.0.3nb6
=> Full dependency geos>=3.3.4: found geos-3.6.2
=> Full dependency proj>=4.9.1: found proj-4.9.3
=> Full dependency postgresql92-client>=9.2.15nb1: found postgresql92-client-9.2.23
===> Overriding tools for postgresql92-postgis-2.4.0
===> Extracting for postgresql92-postgis-2.4.0
===> Patching for postgresql92-postgis-2.4.0
=> Applying pkgsrc patches for postgresql92-postgis-2.4.0
===> Creating toolchain wrappers for postgresql92-postgis-2.4.0
===> Configuring for postgresql92-postgis-2.4.0
=> Substituting "paths" in extras/template_gis/profile  extras/template_gis/createdb.postgis.1  extras/template_gis/mktemplate_gis.1  extras/template_gis/postgis_env.sh.in
INFO: [subst.mk:paths] Nothing changed in ./extras/template_gis/profile.
INFO: [subst.mk:paths] Nothing changed in ./extras/template_gis/createdb.postgis.1.
INFO: [subst.mk:paths] Nothing changed in ./extras/template_gis/mktemplate_gis.1.
INFO: [subst.mk:paths] Nothing changed in ./extras/template_gis/postgis_env.sh.in.
=> 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 Perl interpreter in utils/postgis_restore.pl.in utils/create_spatial_ref_sys_config_dump.pl.
=> Checking for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking how to print strings... printf
checking for x86_64--netbsd-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for gawk... /usr/bin/awk
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for x86_64--netbsd-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for cpp... /data/scratch/databases/postgresql-postgis2/work/.cwrapper/bin/cpp
checking if clang supports -Wall... yes
checking if clang supports -Wmissing-prototypes... yes
checking if clang supports -ffloat-store... no
checking if clang supports --exclude-libs... yes
checking for flex... /usr/bin/lex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether isfinite is declared... yes
checking whether isfinite is declared... yes
checking for perl... /usr/pkg/bin/perl
checking for xsltproc... /usr/pkg/bin/xsltproc
checking for convert... /usr/pkg/bin/convert
checking for dblatex... no
configure: WARNING: dblatex is not installed so PDF documentation cannot be built
checking for xmllint... /usr/pkg/bin/xmllint
checking CUnit/CUnit.h usability... yes
checking CUnit/CUnit.h presence... yes
checking for CUnit/CUnit.h... yes
checking for CU_initialize_registry in -lcunit... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for libiconv_open in -liconv... no
checking for iconv_open in -lc... yes
checking for iconvctl... no
checking for libiconvctl... no
checking for pg_config... /data/scratch/databases/postgresql-postgis2/work/.buildlink/bin/pg_config
checking PostgreSQL version... PostgreSQL 9.2.23
configure: error: PostGIS requires PostgreSQL >= 9.3
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/databases/postgresql-postgis2
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/postgresql-postgis2