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

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

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 bsdtar-[0-9]*: found bsdtar-3.3.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency boost-headers-1.64.*: found boost-headers-1.64.0nb2
=> Build dependency dri2proto>=2.1: found dri2proto-2.8
=> Build dependency dri3proto>=1.0: found dri3proto-1.0
=> Build dependency xproto>=7.0.9: found xproto-7.0.31
=> Build dependency presentproto>=1.0: found presentproto-1.1
=> Build dependency glproto>=1.4.11: found glproto-1.4.17
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency fixesproto>=4.0.0: found fixesproto-5.0
=> Build dependency xextproto>=7.0.99.1: found xextproto-7.3.0
=> Build dependency inputproto>=1.4: found inputproto-2.3.2
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.7
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.12
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency randrproto>=1.4: found randrproto-1.5.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1
=> Build dependency cwrappers>=20150314: found cwrappers-20170611
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23
=> Full dependency boost-libs-1.64.*: found boost-libs-1.64.0nb1
=> Full dependency boost-libs>=1.64.0: found boost-libs-1.64.0nb1
=> Full dependency freetype2>=2.4.11: found freetype2-2.8
=> Full dependency muparser>=200: found muparser-200.2.2.2
=> Full dependency qt4-libs>=4.8.7nb1: found qt4-libs-4.8.7nb7
=> Full dependency qt4-tools>=4.8.7nb1: found qt4-tools-4.8.7nb2
===> Overriding tools for librecad-2.1.3nb2
===> Extracting for librecad-2.1.3nb2
===> Patching for librecad-2.1.3nb2
=> Applying pkgsrc patches for librecad-2.1.3nb2
=> Verifying /data/pkgsrc/cad/librecad/patches/patch-librecad_src_lib_engine_rs__color.h
=> Applying pkgsrc patch /data/pkgsrc/cad/librecad/patches/patch-librecad_src_lib_engine_rs__color.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-librecad_src_lib_engine_rs__color.h,v 1.1 2016/09/05 21:13:21 plunky Exp $
|
|add missing includes
|
|--- librecad/src/lib/engine/rs_color.h.orig	2016-06-20 18:43:27.000000000 +0000
|+++ librecad/src/lib/engine/rs_color.h
--------------------------
Patching file librecad/src/lib/engine/rs_color.h using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/pkgsrc/cad/librecad/patches/patch-librecad_src_lib_engine_rs__system.cpp
=> Applying pkgsrc patch /data/pkgsrc/cad/librecad/patches/patch-librecad_src_lib_engine_rs__system.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-librecad_src_lib_engine_rs__system.cpp,v 1.1 2016/09/05 21:13:21 plunky Exp $
|
|Help LibreCAD find the installed files
|
|--- librecad/src/lib/engine/rs_system.cpp.orig	2016-09-04 20:35:17.219964268 +0000
|+++ librecad/src/lib/engine/rs_system.cpp
--------------------------
Patching file librecad/src/lib/engine/rs_system.cpp using Plan A...
Hunk #1 succeeded at 600.
done
=> Verifying /data/pkgsrc/cad/librecad/patches/patch-librecad_src_main_qc__applicationwindow.cpp
=> Applying pkgsrc patch /data/pkgsrc/cad/librecad/patches/patch-librecad_src_main_qc__applicationwindow.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-librecad_src_main_qc__applicationwindow.cpp,v 1.1 2016/09/05 21:13:21 plunky Exp $
|
|ignore files in the plugins directory that do not contain '.so', as
|pkgsrc leaves some .la files there
|
|--- librecad/src/main/qc_applicationwindow.cpp.orig	2016-06-20 18:43:27.000000000 +0000
|+++ librecad/src/main/qc_applicationwindow.cpp
--------------------------
Patching file librecad/src/main/qc_applicationwindow.cpp using Plan A...
Hunk #1 succeeded at 387 (offset 2 lines).
done
=> Verifying /data/pkgsrc/cad/librecad/patches/patch-scripts_postprocess-unix.sh
=> Applying pkgsrc patch /data/pkgsrc/cad/librecad/patches/patch-scripts_postprocess-unix.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_postprocess-unix.sh,v 1.3 2016/09/05 21:13:21 plunky Exp $
|
|* Set Qt tools path
|
|--- scripts/postprocess-unix.sh.orig	2016-06-20 18:43:27.000000000 +0000
|+++ scripts/postprocess-unix.sh
--------------------------
Patching file scripts/postprocess-unix.sh using Plan A...
Hunk #1 succeeded at 8.
done
===> Creating toolchain wrappers for librecad-2.1.3nb2
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/cad/librecad/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/cad/librecad/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for librecad-2.1.3nb2
=> Set qt4/bin
=> Fix hardcoded path
=> Generating pkg-config file for builtin expat package.
=> Checking for portability problems in extracted files
cd /data/scratch/cad/librecad/work/LibreCAD-2.1.3 && /usr/pkg/qt4/bin/qmake  QMAKE_CXXFLAGS=-DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
Project MESSAGE: We will be using CPP11 features
cd /data/scratch/cad/librecad/work/LibreCAD-2.1.3/plugins && /usr/pkg/qt4/bin/qmake  INSTALLS+=target target.path=/usr/pkg/lib/librecad/plugins
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp