=> 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 asymptote-2.41.src.tgz
=> Checksum RMD160 OK for asymptote-2.41.src.tgz
=> Checksum SHA512 OK for asymptote-2.41.src.tgz
===> Installing dependencies for asymptote-2.41
==========================================================================
The following variables will affect the build process of this package,
asymptote-2.41.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 27

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

        * PYPACKAGE = python27
        * 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 gmake>=3.81: found gmake-4.1nb3
=> Tool dependency perl>=5.0: found perl-5.26.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency dvipsk-[0-9]*: found dvipsk-5.997nb1
=> Build dependency makeindexk-[0-9]*: found makeindexk-2.15nb9
=> Build dependency tex-latex-bin-[0-9]*: found tex-latex-bin-2016
=> Build dependency tex-ec-[0-9]*: found tex-ec-1.0
=> Build dependency tex-epsf-[0-9]*: found tex-epsf-2.7.4
=> Build dependency tex-pdftex-[0-9]*: found tex-pdftex-2016
=> Build dependency tex-parskip-[0-9]*: found tex-parskip-2.0
=> Build dependency tex-texinfo-[0-9]*: found tex-texinfo-5.1.45305
=> Build dependency tex-tools-[0-9]*: found tex-tools-2017
=> Build dependency ghostscript-agpl>=9.16: found ghostscript-agpl-9.22nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20171108
=> Full dependency tex-geometry-[0-9]*: found tex-geometry-5.6
=> Full dependency boehm-gc>=7.4: found boehm-gc-7.6.0nb2
=> Full dependency readline>=6.0: found readline-7.0
=> Full dependency python27>=2.7.1nb2: found python27-2.7.14
=> Full dependency fftw>=3.1nb1: found fftw-3.3.7
=> Full dependency gsl>=1.5nb1: found gsl-2.4
===> Overriding tools for asymptote-2.41
===> Extracting for asymptote-2.41
===> Patching for asymptote-2.41
=> Applying pkgsrc patches for asymptote-2.41
=> Verifying /data/pkgsrc/graphics/asymptote/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/graphics/asymptote/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.3 2016/09/30 11:54:00 wiz Exp $
|
|Handle TEXMFLOCAL having multiple elements.
|
|--- configure.orig	2011-11-16 21:40:11.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3974 (offset 201 lines).
Hunk #2 succeeded at 4073 (offset 201 lines).
done
=> Fixing path to python interpreter.
===> Creating toolchain wrappers for asymptote-2.41
===> Configuring for asymptote-2.41
=> 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 python interpreter in GUI/*.py.
=> Checking for portability problems in extracted files
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 how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 whether byte ordering is bigendian... no
checking for kpsewhich... true
checking for kpsewhich... (cached) true
checking for texi2dvi... texi2dvi
configure: Using /usr/pkg/share/texmf-local/tex/latex/asymptote for LaTeX style file
configure: Using /usr/pkg/share/texmf-local/tex/context/third/asymptote for ConTeXT style file
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ accepts -g... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
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 whether make sets $(MAKE)... yes
checking for bison... no
checking for byacc... no
checking how to run the C++ preprocessor... clang++ -E
checking unordered_map usability... yes
checking unordered_map presence... yes
checking for unordered_map... yes
checking for gc-7.6.0.tar.gz... yes
checking gc.h usability... yes
checking gc.h presence... yes
checking for gc.h... yes
checking for GC_malloc in -lgc... yes
configure: enabling system Boehm Garbage Collector
checking for getopt_long_only... no
checking for sqrt in -lm... yes
checking for deflate in -lz... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for pthread_join in LIBS= with CFLAGS= -pthread ... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for stackoverflow_install_handler in -lsigsegv... no
checking for sched_yield in -lrt... yes
checking for history_list in -lreadline... yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for setupterm in -lncurses... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking fpu_control.h usability... no
checking fpu_control.h presence... no
checking for fpu_control.h... no
configure: WARNING: *** Broken rpc headers; XDR support disabled ***
checking gsl/gsl_sf.h usability... yes
checking gsl/gsl_sf.h presence... yes
checking for gsl/gsl_sf.h... yes
checking for gsl_sf_debye_6 in -lgsl... yes
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftw_execute in -lfftw3... yes
checking for glDepthMask in -lGL... no
checking for gluNewNurbsRenderer in -lGLU... no
configure: *** Could not find libGLU: will compile without OpenGL support ***
checking for glutMainLoop in -lglut... no
configure: *** Could not find libglut: will compile without GLUT support ***
checking for OSMesaCreateContext in -lOSMesa... no
configure: *** Could not find libOSMesa: will compile without offscreen rendering support ***
checking for pid_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for long long... yes
checking for long... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking return type of signal handlers... void
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for dup2... yes
checking for floor... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strchr... yes
checking for tgamma... yes
checking for memrchr... yes
checking for strftime... yes
checking for strptime... yes
checking for error_at_line... no
checking for _LARGEFILE_SOURCE value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/png/Makefile
config.status: creating config.h