=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for libdvbpsi-1.1.0.tar.bz2
=> Checksum RMD160 OK for libdvbpsi-1.1.0.tar.bz2
===> Installing dependencies for libdvbpsi-1.1.0
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb3
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.11
===> Overriding tools for libdvbpsi-1.1.0
===> Extracting for libdvbpsi-1.1.0
===> Patching for libdvbpsi-1.1.0
=> Applying pkgsrc patches for libdvbpsi-1.1.0
=> Verifying /usr/pkgsrc/multimedia/libdvbpsi/patches/patch-examples_dvbinfo_udp.c
=> Applying pkgsrc patch /usr/pkgsrc/multimedia/libdvbpsi/patches/patch-examples_dvbinfo_udp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-examples_dvbinfo_udp.c,v 1.1 2013/04/23 13:22:22 wiz Exp $
|
|Portability fix from upstream (Jean-Paul Saman <jpsaman@videolan.org>).
|
|--- examples/dvbinfo/udp.c.orig	2013-02-20 11:25:27.000000000 +0000
|+++ examples/dvbinfo/udp.c
--------------------------
Patching file examples/dvbinfo/udp.c using Plan A...
Hunk #1 succeeded at 47.
done
=> Verifying /usr/pkgsrc/multimedia/libdvbpsi/patches/patch-src_descriptors_dr__7c.c
=> Applying pkgsrc patch /usr/pkgsrc/multimedia/libdvbpsi/patches/patch-src_descriptors_dr__7c.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_descriptors_dr__7c.c,v 1.2 2013/04/23 13:22:22 wiz Exp $
|
|clang fix, accepted upstream.
|
|--- src/descriptors/dr_7c.c.orig	2013-02-25 14:29:08.000000000 +0000
|+++ src/descriptors/dr_7c.c
--------------------------
Patching file src/descriptors/dr_7c.c using Plan A...
Hunk #1 succeeded at 245.
done
===> Creating toolchain wrappers for libdvbpsi-1.1.0
===> Configuring for libdvbpsi-1.1.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
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking target system type... i386--netbsdelf
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... .auto/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
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 for style of include used by make... GNU
checking dependency style of cc... gcc3
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 inline... inline
checking whether cc understands -c and -o together... yes
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/multimedia/libdvbpsi/work/.wrapper/bin/ld
checking if the linker (/scratch/multimedia/libdvbpsi/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/libdvbpsi/work/.wrapper/bin/ld option to reload object files... -r
checking for i386--netbsdelf-objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i386--netbsdelf-dlltool... dlltool
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 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/libdvbpsi/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 stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking for variadic cpp macros... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating examples/Makefile
config.status: creating examples/dvbinfo/Makefile
config.status: creating misc/Makefile
config.status: creating doc/Makefile
config.status: creating wince/Makefile
config.status: creating libdvbpsi.pc
config.status: creating libdvbpsi.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory

libdvbpsi configuration
-----------------------
libdvbpsi version     : 1.1.0
debug                 : false
release               : false
compile flags         : -O2 -Wall -Werror --std=gnu99 -D_GNU_SOURCE -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -DDVBPSI_DIST

=> Modifying libtool scripts to use pkgsrc libtool