=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for vdpau-driver-0.7.4.tar.gz
=> Checksum RMD160 OK for vdpau-driver-0.7.4.tar.gz
===> Installing dependencies for libva-driver-vdpau-0.7.4
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb3
=> Tool dependency automake>=1.9: found automake-1.13.3
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb2
=> 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
===> Overriding tools for libva-driver-vdpau-0.7.4
===> Extracting for libva-driver-vdpau-0.7.4
===> Patching for libva-driver-vdpau-0.7.4
=> Applying pkgsrc patches for libva-driver-vdpau-0.7.4
=> Verifying /usr/pkgsrc/multimedia/libva-driver-vdpau/patches/patch-configure.ac
=> Applying pkgsrc patch /usr/pkgsrc/multimedia/libva-driver-vdpau/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.1 2013/04/14 00:48:05 cheusov Exp $
|
|# Fix for latest autotools
|--- configure.ac.orig	2012-10-05 14:04:17.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 23.
done
===> Creating toolchain wrappers for libva-driver-vdpau-0.7.4
===> Configuring for libva-driver-vdpau-0.7.4
cd /scratch/multimedia/libva-driver-vdpau/work/vdpau-driver-0.7.4 && autoreconf -i
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:69: installing './config.guess'
configure.ac:69: installing './config.sub'
configure.ac:24: installing './install-sh'
configure.ac:24: installing './missing'
src/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
=> 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
=> Checking for portability problems in extracted files
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 whether make supports nested variables... yes
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking how to print strings... printf
checking for style of include used by make... GNU
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 dependency style of cc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /scratch/multimedia/libva-driver-vdpau/work/.wrapper/bin/ld
checking if the linker (/scratch/multimedia/libva-driver-vdpau/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/multimedia/libva-driver-vdpau/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 how to run the C preprocessor... cc -E
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 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/multimedia/libva-driver-vdpau/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... no
checking for i386--netbsdelf-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether make supports nested variables... (cached) yes
checking for pthread_create in -lpthread... yes
checking for tan in -lm... yes
checking for timer_create in -lrt... yes
checking for clock_gettime... yes
checking whether __attribute__((visibility())) is supported... yes
checking for GL/gl.h... no
checking for GL/glext.h... no
checking for GL/glx.h... no
checking for glXCreateContext in -lGL... no
checking pkg-config is at least version 0.9.0... yes
checking for LIBVA_DEPS... no
configure: error: Package requirements (libva) were not met:

No package 'libva' found

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

Alternatively, you may set the environment variables LIBVA_DEPS_CFLAGS
and LIBVA_DEPS_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/multimedia/libva-driver-vdpau
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/libva-driver-vdpau