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

        * VARBASE = /var

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.05
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb20
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency xz>=5.0.0: found xz-5.2.3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.13
=> Full dependency png>=1.6.0nb1: found png-1.6.28
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23
=> Full dependency icu>=58.1: found icu-58.2
===> Overriding tools for openttd-1.6.1
===> Extracting for openttd-1.6.1
===> Patching for openttd-1.6.1
=> Applying pkgsrc patches for openttd-1.6.1
=> Verifying /data/pkgsrc-current/games/openttd/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc-current/games/openttd/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.12 2015/07/03 12:37:44 wiz Exp $
|
|Compile 'strip' test with CFLAGS, so -isysroot can be passed on OSX.
|Correct library detection on NetBSD.
|
|--- config.lib.orig	2015-06-01 18:43:32.000000000 +0000
|+++ config.lib
--------------------------
Patching file config.lib using Plan A...
Hunk #1 succeeded at 2102 (offset 32 lines).
Hunk #2 succeeded at 2576 (offset -52 lines).
done
===> Creating toolchain wrappers for openttd-1.6.1
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/games/openttd/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/games/openttd/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for openttd-1.6.1
=> Generating pkg-config file for builtin expat package.
=> Checking for portability problems in extracted files
checking awk... awk
detecting OS... NETBSD
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking universal build... no
checking build cc... gcc
checking host cc... gcc
checking build c++... c++
checking host c++... c++
checking host strip... strip
checking builtin depend... yes
checking makedepend... disabled
detecting cpu-type... 64 bits
detecting SSE... found
checking static... no
checking unicode... no
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... not OSX, skipping
checking allegro... not found
checking sdl... found
checking COCOA... not OSX, skipping
checking GDI video driver... not Windows, skipping
checking dedicated... not selected
checking console application... not Windows, skipping
checking network... found
checking squirrel... found
checking translator... no
checking assert... disabled
checking zlib... found
checking liblzma... found
checking lzo2... found
checking libxdg-basedir... not found
checking libpng... found
checking freetype2... found
checking fontconfig... found
checking icu-lx... not found
checking icu-i18n... found
checking psp-config... not PSP, skipping
checking libtimidity... not found
checking direct-music... not Windows, skipping
checking sort... sort
checking endianness... AUTO
suppress language errors... no
checking stripping... strip -s
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
grfcodec: not found
checking grfcodec... not found
nforenum: not found
checking nforenum... not found
checking OSX application bundle... not OSX, skipping
checking revision... source tarball
checking iconv... not OSX, skipping
personal home directory... .openttd
shared data directory... /var/games/openttd
installation directory... /data/scratch/games/openttd/work/.destdir
icon theme directory... share/icons/hicolor
manual page directory... man/man6
menu item directory... share/applications
using CFLAGS_BUILD...  -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DNETBSD -D_FORTIFY_SOURCE=2 -O1 -DNDEBUG
using CXXFLAGS_BUILD...  -std=gnu++0x -Wno-narrowing
using LDFLAGS_BUILD...  -rdynamic
using CFLAGS... -O2 -fomit-frame-pointer -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DNETBSD -D_FORTIFY_SOURCE=2 -DWITH_SSE -DUNIX -DWITH_SDL -I/usr/pkg/include/SDL  -D_REENTRANT -D_THREAD_SAFE   -DWITH_ZLIB    -DWITH_LZMA -I/usr/pkg/include    -DWITH_LZO -D_SQ64 -I/data/scratch/games/openttd/work/openttd-1.6.1/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/pkg/include/libpng16    -DWITH_FONTCONFIG -I/usr/X11R7/include  -I/usr/X11R7/include/freetype2    -DWITH_FREETYPE -I/usr/X11R7/include/freetype2    -DWITH_ICU_SORT -I/usr/pkg/include    -DENABLE_NETWORK -DNDEBUG -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\".openttd\\" -DWITH_SHARED_DIR -DSHARED_DIR=\\"/var/games/openttd\\" -DGLOBAL_DATA_DIR=\\"/usr/pkg/share/openttd\\"
using CXXFLAGS... -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -std=gnu++0x -Wno-narrowing
using LDFLAGS... -lstdc++ -lpthread -lc -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL  -lpthread   -lz    -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -llzma    -llzo2 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpng16    -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lfontconfig    -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lfreetype -lz -lbz2    -L/usr/pkg/lib -licui18n -Wl,-R/usr/pkg/lib -licuuc -licudata    -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -rdynamic
Generating Makefile...
Generating menu item...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...