=> 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 xfce4-timer-plugin-1.6.0.tar.bz2
=> Checksum RMD160 OK for xfce4-timer-plugin-1.6.0.tar.bz2
=> Checksum SHA512 OK for xfce4-timer-plugin-1.6.0.tar.bz2
===> Installing dependencies for xfce4-timer-plugin-1.6.0nb4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb2
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency perl>=5.0: found perl-5.26.0nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.7
=> Build dependency xproto>=7.0.13: found xproto-7.0.31
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.12
=> Build dependency dri2proto>=2.1: found dri2proto-2.8
=> Build dependency dri3proto>=1.0: found dri3proto-1.0
=> 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>=2.3: found inputproto-2.3.2
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1
=> Build dependency randrproto>=1.4: found randrproto-1.5.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1
=> Build dependency compositeproto>=0.3.1: found compositeproto-0.4.2
=> Build dependency cwrappers>=20150314: found cwrappers-20170611
=> Full dependency gtk3+>=3.22.7nb2: found gtk3+-3.22.9nb2
=> Full dependency xfce4-panel>=4.12.0nb5: found xfce4-panel-4.13.0
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.13nb1
===> Overriding tools for xfce4-timer-plugin-1.6.0nb4
===> Extracting for xfce4-timer-plugin-1.6.0nb4
===> Patching for xfce4-timer-plugin-1.6.0nb4
=> Applying pkgsrc patches for xfce4-timer-plugin-1.6.0nb4
=> Verifying /data/pkgsrc/time/xfce4-timer-plugin/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc/time/xfce4-timer-plugin/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.1 2015/04/21 08:56:42 jperkin Exp $
|
|Adjust config path.
|--- src/Makefile.in.orig	2014-06-04 22:42:33.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 298.
Hunk #2 succeeded at 337.
done
===> Creating toolchain wrappers for xfce4-timer-plugin-1.6.0nb4
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/time/xfce4-timer-plugin/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/time/xfce4-timer-plugin/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
src=/usr/pkg/lib/pkgconfig/compositeproto.pc  dst=/data/scratch/time/xfce4-timer-plugin/work/.buildlink/lib/pkgconfig/compositeext.pc;  /bin/mkdir -p /data/scratch/time/xfce4-timer-plugin/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for xfce4-timer-plugin-1.6.0nb4
=> Generating pkg-config file for builtin expat package.
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] configure:       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... plaintar
checking whether to enable maintainer-specific portions of Makefiles... no
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 for style of include used by make... GNU
checking dependency style of clang... gcc3
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 build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for intltool-update... /data/scratch/time/xfce4-timer-plugin/work/.tools/bin/intltool-update
checking for intltool-merge... /data/scratch/time/xfce4-timer-plugin/work/.tools/bin/intltool-merge
checking for intltool-extract... /data/scratch/time/xfce4-timer-plugin/work/.tools/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /data/scratch/time/xfce4-timer-plugin/work/.tools/bin/msgfmt
checking for gmsgfmt... /data/scratch/time/xfce4-timer-plugin/work/.tools/bin/msgfmt
checking for perl... /usr/pkg/bin/perl
checking for perl >= 5.8.1... 5.26.0
checking for XML::Parser... ok
checking whether clang and cc understand -c and -o together... yes
checking for ANSI C header files... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /data/scratch/time/xfce4-timer-plugin/work/.tools/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /data/scratch/time/xfce4-timer-plugin/work/.tools/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  ar ast bg ca cs da de el en_AU en_GB es eu fr gl hr hu id it ja ko lv ms nb nl oc pl pt pt_BR ru sk sq sr sv th tr ug uk ur ur_PK zh_CN zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking pkg-config is at least version 0.9.0... yes
checking for gthread-2.0 >= 2.4.0... 2.50.3
checking GTHREAD_CFLAGS... -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include 
checking GTHREAD_LIBS... -L/usr/pkg/lib -lgthread-2.0 -pthread -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl 
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-2.0 >= 2.4.0... not found
*** The required package gtk+-2.0 was not found on your system.
*** Please install gtk+-2.0 (atleast version 2.4.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/time/xfce4-timer-plugin
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/time/xfce4-timer-plugin