=> 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 gmic_1.5.9.3.tar.gz
=> Checksum RMD160 OK for gmic_1.5.9.3.tar.gz
=> Checksum SHA512 OK for gmic_1.5.9.3.tar.gz
===> Installing dependencies for gmic-1.5.9.3nb4
==========================================================================
The following variables will affect the build process of this package,
gmic-1.5.9.3nb4.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 pkgconf-[0-9]*: found pkgconf-1.0.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency x11-links>=1.04: found x11-links-1.04
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency atk>=2.6.0: found atk-2.22.0
=> Full dependency glib2>=2.34.0: found glib2-2.50.2
=> Full dependency pango>=1.36.8nb1: found pango-1.40.3
=> Full dependency cairo>=1.14.2nb1: found cairo-1.14.8
=> Full dependency png>=1.6.0nb1: found png-1.6.28
=> Full dependency gdk-pixbuf2>=2.34.0nb1: found gdk-pixbuf2-2.36.4
=> Full dependency jpeg>=9: found jpeg-9b
=> Full dependency tiff>=4.0.3nb5: found tiff-4.0.7nb1
=> Full dependency openexr>=2.2.0nb3: found openexr-2.2.0nb3
=> Full dependency gimp>=2.8.16nb6: found gimp-2.8.18nb2
=> Full dependency gtk2+>=2.24.30nb2: found gtk2+-2.24.31
=> Full dependency fftw>=3.1nb1: found fftw-3.3.6pl1
===> Overriding tools for gmic-1.5.9.3nb4
===> Extracting for gmic-1.5.9.3nb4
===> Patching for gmic-1.5.9.3nb4
=> Applying pkgsrc patches for gmic-1.5.9.3nb4
=> Verifying /data/pkgsrc-current/graphics/gmic/patches/patch-src_Makefile
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/gmic/patches/patch-src_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile,v 1.3 2016/09/18 06:57:24 dholland Exp $
|
|Add NetBSD.
|Adapt installation paths.
|Add compiler rpath flag.
|Use X11BASE instead of hardcoding /usr/X11R6.
|
|--- src/Makefile.orig	2014-06-20 13:02:38.000000000 +0000
|+++ src/Makefile
--------------------------
Patching file src/Makefile using Plan A...
Hunk #1 succeeded at 51.
Hunk #2 succeeded at 65.
Hunk #3 succeeded at 80.
Hunk #4 succeeded at 98.
Hunk #5 succeeded at 127.
Hunk #6 succeeded at 330.
Hunk #7 succeeded at 425.
done
===> Creating toolchain wrappers for gmic-1.5.9.3nb4
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/graphics/gmic/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/graphics/gmic/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
src=/usr/X11R7/lib/pkgconfig/compositeproto.pc  dst=/data/scratch/graphics/gmic/work/.buildlink/lib/pkgconfig/compositeext.pc;  /bin/mkdir -p /data/scratch/graphics/gmic/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for gmic-1.5.9.3nb4
=> Generating pkg-config file for builtin expat package.
=> Checking for portability problems in extracted files