=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for libX11-1.6.0.tar.bz2
=> Checksum RMD160 OK for libX11-1.6.0.tar.bz2
===> Installing dependencies for libX11-1.6.0
=> Tool dependency tradcpp-[0-9]*: found tradcpp-0.3
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb3
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency x11-links>=0.78: found x11-links-0.79
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.8
=> Full dependency libxcb>=1.8.1: found libxcb-1.9.1
===> Overriding tools for libX11-1.6.0
===> Extracting for libX11-1.6.0
===> Patching for libX11-1.6.0
=> Applying pkgsrc patches for libX11-1.6.0
=> Verifying /usr/pkgsrc/x11/libX11/patches/patch-Makefile.in
=> Applying pkgsrc patch /usr/pkgsrc/x11/libX11/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.1 2013/06/04 07:57:13 wiz Exp $
|
|Avoid unnecessary auto* due to patch-aa modifying configure.ac.
|
|--- Makefile.in.orig	2013-06-04 02:21:47.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 87.
done
=> Verifying /usr/pkgsrc/x11/libX11/patches/patch-aa
=> Applying pkgsrc patch /usr/pkgsrc/x11/libX11/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.10 2012/07/10 03:03:01 mef Exp $
|
|Include pthread.h as thread stubs might be macros like on NetBSD.
|
|Define conditional for cross-compiling support.
|
|Also, don't look for keysmydef.h, as this could break cross
|builds (from GIT).
|
|--- configure.ac.orig	2012-06-02 15:37:17.000000000 +0900
|+++ configure.ac	2012-06-28 19:14:45.000000000 +0900
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 276 (offset -1 lines).
Hunk #2 succeeded at 285 (offset -1 lines).
done
=> Verifying /usr/pkgsrc/x11/libX11/patches/patch-ac
=> Applying pkgsrc patch /usr/pkgsrc/x11/libX11/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.12 2012/07/10 03:03:01 mef Exp $
|
|See patch-aa.
|
|--- configure.orig	2012-06-02 15:37:31.000000000 +0900
|+++ configure	2012-06-28 19:20:03.000000000 +0900
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 20006 (offset 64 lines).
Hunk #2 succeeded at 20038 (offset 64 lines).
done
===> Creating toolchain wrappers for libX11-1.6.0
===> Configuring for libX11-1.6.0
=> 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
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --enable-man-pages, --with-xcb
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking for i386--netbsdelf-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c -o kristerw -g wheel
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 for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of cc... gcc3
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 cc... /scratch/x11/libX11/work/.wrapper/bin/ld
checking if the linker (/scratch/x11/libX11/work/.wrapper/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 i386--netbsdelf file names to i386--netbsdelf format... func_convert_file_noop
checking how to convert i386--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /scratch/x11/libX11/work/.wrapper/bin/ld option to reload object files... -r
checking for i386--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i386--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i386--netbsdelf-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for i386--netbsdelf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/scratch/x11/libX11/work/.wrapper/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 for cc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking if cc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if cc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if cc -std=gnu99 supports -Wall... yes
checking if cc -std=gnu99 supports -Wpointer-arith... yes
checking if cc -std=gnu99 supports -Wmissing-declarations... yes
checking if cc -std=gnu99 supports -Wformat=2... yes
checking if cc -std=gnu99 supports -Wstrict-prototypes... yes
checking if cc -std=gnu99 supports -Wmissing-prototypes... yes
checking if cc -std=gnu99 supports -Wnested-externs... yes
checking if cc -std=gnu99 supports -Wbad-function-cast... yes
checking if cc -std=gnu99 supports -Wold-style-definition... yes
checking if cc -std=gnu99 supports -Wdeclaration-after-statement... yes
checking if cc -std=gnu99 supports -Wunused... yes
checking if cc -std=gnu99 supports -Wuninitialized... yes
checking if cc -std=gnu99 supports -Wshadow... yes
checking if cc -std=gnu99 supports -Wcast-qual... yes
checking if cc -std=gnu99 supports -Wmissing-noreturn... yes
checking if cc -std=gnu99 supports -Wmissing-format-attribute... yes
checking if cc -std=gnu99 supports -Wredundant-decls... yes
checking if cc -std=gnu99 supports -Werror=implicit... no
checking if cc -std=gnu99 supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... yes
checking if cc -std=gnu99 supports -Werror=nonnull... no
checking if cc -std=gnu99 supports -Werror=init-self... no
checking if cc -std=gnu99 supports -Werror=main... no
checking if cc -std=gnu99 supports -Werror=missing-braces... no
checking if cc -std=gnu99 supports -Werror=sequence-point... no
checking if cc -std=gnu99 supports -Werror=return-type... no
checking if cc -std=gnu99 supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... yes
checking if cc -std=gnu99 supports -Werror=trigraphs... no
checking if cc -std=gnu99 supports -Werror=array-bounds... no
checking if cc -std=gnu99 supports -Werror=write-strings... no
checking if cc -std=gnu99 supports -Werror=address... no
checking if cc -std=gnu99 supports -Werror=int-to-pointer-cast... no
checking if cc -std=gnu99 supports -errwarn=E_BAD_PTR_INT_COMBINATION... yes
checking if cc -std=gnu99 supports -Werror=pointer-to-int-cast... no
checking if cc -std=gnu99 supports -pedantic... yes
checking if cc -std=gnu99 supports -Werror... yes
checking if cc -std=gnu99 supports -Werror=attributes... no
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking whether make supports nested variables... (cached) yes
checking whether to build functional specifications... no
checking for xmlto... no
configure: WARNING: xmlto not found - documentation targets will be skipped
checking for xsltproc... no
configure: WARNING: xsltproc not found - cannot transform XML documents
checking for X.Org SGML entities >= 1.10... no
checking for cpp... (cached) /usr/pkg/bin/tradcpp -Uunix
checking if /usr/pkg/bin/tradcpp -Uunix requires -undef... no
checking if /usr/pkg/bin/tradcpp -Uunix requires -traditional... no
checking for perl... /scratch/x11/libX11/work/.tools/bin/perl
checking pkg-config is at least version 0.9.0... yes
checking pkg-config is at least version 0.9.0... yes
checking return type of signal handlers... void
checking if Xtrans should support UNIX socket connections... yes
checking if Xtrans should support TCP socket connections... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for getaddrinfo... yes
checking if IPv6 support should be built... yes
checking for struct sockaddr_in.sin_len... yes
checking for socklen_t... yes
checking if Xtrans should support os-specific local connections... no
checking for authdes_seccreate... no
checking for authdes_create... no
checking if Secure RPC authentication ("SUN-DES-1") should be supported... no
checking what order to try transports in for local connections... UNIX_TRANS,TCP_TRANS
checking if run-time linking is supported... checking for library containing dlopen... none required
checking for dlfcn.h... (cached) yes
yes
checking if loadable i18n module support should be enabled... no
checking if loadable Xcursor library support should be enabled... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for strtol... yes
checking for seteuid... yes
checking whether issetugid is declared... yes
checking for issetugid... yes
checking for getresuid... no
checking for shmat... yes
checking for launchd... no
checking for getpwuid_r in -lc... yes
checking whether pthread_self is declared... yes
checking for poll... yes
checking keysym definitions...  /usr/X11R7/include/X11/keysymdef.h /usr/X11R7/include/X11/XF86keysym.h /usr/X11R7/include/X11/Sunkeysym.h /usr/X11R7/include/X11/DECkeysym.h /usr/X11R7/include/X11/HPkeysym.h
checking if XLOCALEDIR support should be enabled... yes
checking for BIGFONT... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for nl_langinfo... yes
checking for X11... configure: error: Package requirements (xproto >= 7.0.17 xextproto xtrans xcb >= 1.1.92 kbproto inputproto) were not met:

Requested 'xproto >= 7.0.17' but version of Xproto is 7.0.15

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/libX11
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/libX11