=> 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 phraseanet-v3.1.4-linux.tar.gz
=> Checksum RMD160 OK for phraseanet-v3.1.4-linux.tar.gz
=> Checksum SHA512 OK for phraseanet-v3.1.4-linux.tar.gz
===> Installing dependencies for phraseanet-3.1.4nb6
==========================================================================
The following variables will affect the build process of this package,
phraseanet-3.1.4nb6.  Their current value is shown below:

        * PKG_APACHE_DEFAULT = apache24

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

        * APACHE_PKG_PREFIX = ap24
        * PKG_APACHE = apache24

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 perl>=5.0: found perl-5.24.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency apache>=2.4.7<2.5: found apache-2.4.25nb2
=> Build dependency apache>=2.4.18nb1: found apache-2.4.25nb2
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency php56-phrasea2-[0-9]*: found php56-phrasea2-3.1.4nb2
=> Full dependency php56-opcache-[0-9]*: found php56-opcache-5.6.30
=> Full dependency php56-mbstring-[0-9]*: found php56-mbstring-5.6.30
=> Full dependency php56-gettext-[0-9]*: found php56-gettext-5.6.30
=> Full dependency php56-dom-[0-9]*: found php56-dom-5.6.30
=> Full dependency php56-exif-[0-9]*: found php56-exif-5.6.30
=> Full dependency php56-ftp-[0-9]*: found php56-ftp-5.6.30
=> Full dependency php56-curl-[0-9]*: found php56-curl-5.6.30
=> Full dependency php56-gd-[0-9]*: found php56-gd-5.6.30nb1
=> Full dependency php56-json-[0-9]*: found php56-json-5.6.30
=> Full dependency php56-iconv-[0-9]*: found php56-iconv-5.6.30
=> Full dependency php56-mysql-[0-9]*: found php56-mysql-5.6.30
=> Full dependency php56-sockets-[0-9]*: found php56-sockets-5.6.30
=> Full dependency php56-xsl-[0-9]*: found php56-xsl-5.6.30
=> Full dependency php56-zip-[0-9]*: found php56-zip-5.6.30
=> Full dependency php56-zlib-[0-9]*: found php56-zlib-5.6.30
=> Full dependency php56-memcache-[0-9]*: found php56-memcache-2.2.7
=> Full dependency phraseanet-indexer-3.1.4{,nb*}: found phraseanet-indexer-3.1.4nb3
=> Full dependency ap24-php56>=5.2: found ap24-php56-5.6.30
=> Full dependency ImageMagick-[0-9]*: found ImageMagick-7.0.5.1
=> Full dependency p5-Image-ExifTool-[0-9]*: found p5-Image-ExifTool-10.40
===> Overriding tools for phraseanet-3.1.4nb6
===> Extracting for phraseanet-3.1.4nb6
===> Patching for phraseanet-3.1.4nb6
=> Applying pkgsrc patches for phraseanet-3.1.4nb6
=> Verifying /data/pkgsrc-current/www/phraseanet/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc-current/www/phraseanet/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.2 2015/12/29 03:23:31 dholland Exp $
|
|--- ./www/login/index.php.orig	2011-09-11 07:16:52.000000000 +0200
|+++ ./www/login/index.php	2011-09-11 07:18:12.000000000 +0200
--------------------------
Patching file ./www/login/index.php using Plan A...
Hunk #1 succeeded at 114.
done
===> Creating toolchain wrappers for phraseanet-3.1.4nb6
/bin/mkdir -p /data/scratch/www/phraseanet/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /data/scratch/www/phraseanet/work/.buildlink/bin/apxs
/bin/mkdir -p /data/scratch/www/phraseanet/work/.buildlink/bin && /bin/ln -fs apr-1-config /data/scratch/www/phraseanet/work/.buildlink/bin/apr-config
/bin/mkdir -p /data/scratch/www/phraseanet/work/.buildlink/bin && /bin/ln -fs apu-1-config /data/scratch/www/phraseanet/work/.buildlink/bin/apu-config
===> Configuring for phraseanet-3.1.4nb6
=> Checking for portability problems in extracted files