=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for lldpd-0.7.2.tar.gz
=> Checksum RMD160 OK for lldpd-0.7.2.tar.gz
===> Installing dependencies for lldpd-0.7.2
==========================================================================
The following variables will affect the build process of this package,
lldpd-0.7.2.  Their current value is shown below:

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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 libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb3
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency libevent>=2.0.10: found libevent-2.0.21nb2
===> Overriding tools for lldpd-0.7.2
===> Extracting for lldpd-0.7.2
===> Patching for lldpd-0.7.2
=> Applying pkgsrc patches for lldpd-0.7.2
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-config.h.in
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-config.h.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config.h.in,v 1.1 2013/05/09 05:42:53 mef Exp $
|
|Add DragonFly support. This is generated by autoheader 2.69
|
|--- config.h.in.orig	2013-05-09 13:46:10.955989000 +0900
|+++ config.h.in	2013-05-09 13:48:31.000000000 +0900
--------------------------
Patching file config.h.in using Plan A...
Hunk #1 succeeded at 126.
done
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-configure
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2013/05/09 05:42:53 mef Exp $
|
|Add DragonFly support. This is generated by autoconf 2.69.
|
|--- configure.orig	2013-05-09 12:22:10.768547000 +0900
|+++ configure	2013-05-09 12:22:16.538636000 +0900
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 668.
Hunk #2 succeeded at 19474.
Hunk #3 succeeded at 21841.
done
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-m4_os.m4
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-m4_os.m4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-m4_os.m4,v 1.1 2013/05/09 05:42:53 mef Exp $
|
|Add DragonFly support. Run autoconf if changed.
|
|--- m4/os.m4.orig	2013-05-09 12:19:37.356190000 +0900
|+++ m4/os.m4	2013-05-09 12:20:17.026800000 +0900
--------------------------
Patching file m4/os.m4 using Plan A...
Hunk #1 succeeded at 21.
done
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_Makefile.am
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_daemon_Makefile.am,v 1.1 2013/05/09 06:55:57 mef Exp $
|
|Add DragonFly support.
|
|--- src/daemon/Makefile.am.orig	2013-04-13 17:18:24.000000000 +0900
|+++ src/daemon/Makefile.am	2013-05-09 14:47:09.802207000 +0900
--------------------------
Patching file src/daemon/Makefile.am using Plan A...
Hunk #1 succeeded at 43.
done
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_Makefile.in
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_daemon_Makefile.in,v 1.1 2013/05/09 06:55:57 mef Exp $
|
|Add DragonFly support.
|
|--- src/daemon/Makefile.in.orig	2013-04-20 10:06:23.000000000 +0900
|+++ src/daemon/Makefile.in	2013-05-09 14:53:36.188143000 +0900
--------------------------
Patching file src/daemon/Makefile.in using Plan A...
Hunk #1 succeeded at 70.
Hunk #2 succeeded at 125.
done
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_interfaces-bsd.c
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_interfaces-bsd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_daemon_interfaces-bsd.c,v 1.1 2013/05/09 06:55:57 mef Exp $
|
|Add DragonFly support
|(net/agr/if_agrioctl.h is missing, to be added).
|
|--- src/daemon/interfaces-bsd.c~	2013-04-13 17:18:24.000000000 +0900
|+++ src/daemon/interfaces-bsd.c	2013-05-09 15:08:27.911845000 +0900
--------------------------
Patching file src/daemon/interfaces-bsd.c using Plan A...
Hunk #1 succeeded at 39.
Hunk #2 succeeded at 77.
Hunk #3 succeeded at 166.
done
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_lldpd.c
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_lldpd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_daemon_lldpd.c,v 1.1 2013/05/09 05:42:53 mef Exp $
|
|Add DragonFly support.
|
|--- src/daemon/lldpd.c~	2013-04-13 17:21:43.000000000 +0900
|+++ src/daemon/lldpd.c	2013-05-09 13:53:17.252539000 +0900
--------------------------
Patching file src/daemon/lldpd.c using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 874.
done
=> Verifying /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_priv.c
=> Applying pkgsrc patch /usr/pkgsrc/net/lldpd/patches/patch-src_daemon_priv.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_daemon_priv.c,v 1.1 2013/05/09 05:42:53 mef Exp $
|
|Add DragonFly support.
|
|--- src/daemon/priv.c.orig	2013-05-09 12:26:14.352290000 +0900
|+++ src/daemon/priv.c	2013-05-09 12:27:54.003821000 +0900
--------------------------
Patching file src/daemon/priv.c using Plan A...
Hunk #1 succeeded at 42.
Hunk #2 succeeded at 407.
Hunk #3 succeeded at 540.
done
===> Creating toolchain wrappers for lldpd-0.7.2
===> Configuring for lldpd-0.7.2
=> 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 to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
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 i386--netbsdelf-ar... no
checking for i386--netbsdelf-lib... no
checking for i386--netbsdelf-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking how to print strings... printf
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/net/lldpd/work/.wrapper/bin/ld
checking if the linker (/scratch/net/lldpd/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/net/lldpd/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... 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/net/lldpd/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 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 for cc option to accept ISO C99... -std=gnu99
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking whether the c++ linker (/scratch/net/lldpd/work/.wrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC...  -DPIC
checking if c++ PIC flag  -DPIC works... no
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
no
checking if c++ supports -c -o file.o... (cached) no
checking whether the c++ linker (/scratch/net/lldpd/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... unsupported
checking whether cc -std=gnu99 and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for i386--netbsdelf-doxygen... no
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for i386--netbsdelf-perl... no
checking for perl... /scratch/net/lldpd/work/.tools/bin/perl
checking CFLAGS for gcc -fdiagnostics-show-option... -fdiagnostics-show-option
checking CFLAGS for gcc -pipe... -pipe
checking CFLAGS for gcc -Wall... -Wall
checking CFLAGS for gcc -W... -W
checking CFLAGS for gcc -Wextra... -Wextra
checking CFLAGS for gcc -Wformat... -Wformat
checking CFLAGS for gcc -Wformat-security... -Wformat-security
checking CFLAGS for gcc -Wfatal-errors... -Wfatal-errors
checking CFLAGS for gcc -Wcast-align... -Wcast-align
checking CFLAGS for gcc -Winline... -Winline
checking CFLAGS for gcc -fstack-protector... -fstack-protector
checking CFLAGS for gcc -D_FORTIFY_SOURCE=2... -D_FORTIFY_SOURCE=2
checking CFLAGS for gcc -Wno-unused-parameter... -Wno-unused-parameter
checking CFLAGS for gcc -Wno-missing-field-initializers... -Wno-missing-field-initializers
checking CFLAGS for gcc -Wno-sign-compare... -Wno-sign-compare
checking whether the linker accepts the -Wl,-z,relro flag... yes
checking whether the linker accepts the -Wl,-z,now flag... yes
checking if host OS is supported... yes (NetBSD)
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking whether libc defines __progname... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for strlcpy... yes
checking for strnlen... no
checking for fgetln... yes
checking for setresuid... no
checking for setresgid... no
checking for library containing __res_init... no
checking for library containing res_9_init... no
checking for library containing res_init... none required
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
checking for LIBEVENT... yes
checking if system libevent works as expected... yes
checking for a readline compatible library... no
checking whether to enable Cisco Discovery Protocol... yes
checking whether to enable Foundry Discovery Protocol... yes
checking whether to enable Extreme Discovery Protocol... yes
checking whether to enable SynOptics Network Management Protocol... yes
checking whether to enable LLDP-MED extension... yes
checking whether to enable Dot1 extension (VLAN stuff)... yes
checking whether to enable Dot3 extension (PHY stuff)... yes
checking whether to enable compatibility with Linux kernel older than 2.6.18... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/daemon/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/lib/lldpctl.pc
config.status: creating src/client/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=== configuring in libevent (/scratch/net/lldpd/work/lldpd-0.7.2/libevent)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/pkg'  '--with-privsep-chroot=/var/chroot/lldpd' '--build=i386--netbsdelf' '--host=i386--netbsdelf' '--mandir=/usr/pkg/man' 'build_alias=i386--netbsdelf' 'host_alias=i386--netbsdelf' 'CC=cc' 'CFLAGS=-O2 -I/usr/pkg/include -I/usr/include' 'LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' 'LIBS=' 'CPPFLAGS=-I/usr/pkg/include -I/usr/include' 'CXX=c++' 'CXXFLAGS=-O2 -I/usr/pkg/include -I/usr/include' 'CXXCPP=cpp' 'PKG_CONFIG=/scratch/net/lldpd/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/scratch/net/lldpd/work/.buildlink/lib/pkgconfig:/scratch/net/lldpd/work/.buildlink/share/pkgconfig' '--disable-libevent-regress' '--disable-thread-support' '--disable-openssl' '--disable-malloc-replacement' '--disable-debug-mode' '--enable-function-sections' '--disable-shared' '--enable-static' --cache-file=/dev/null --srcdir=.
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 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 for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
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 whether cc needs -traditional... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /scratch/net/lldpd/work/.wrapper/bin/ld
checking if the linker (/scratch/net/lldpd/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 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/net/lldpd/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 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/net/lldpd/work/.wrapper/bin/ld) supports shared libraries... yes
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... no
checking whether to build static libraries... yes
checking for library containing inet_ntoa... none required
checking for library containing socket... none required
checking for library containing inet_aton... none required
checking for library containing clock_gettime... none required
checking for library containing sendfile... no
checking for WIN32... no
checking for CYGWIN... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing inflateEnd... -lz
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for unistd.h... (cached) yes
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in6.h usability... no
checking netinet/in6.h presence... no
checking for netinet/in6.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/sendfile.h usability... no
checking sys/sendfile.h presence... no
checking for sys/sendfile.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/sysctl.h... yes
checking for TAILQ_FOREACH in sys/queue.h... yes
checking for timeradd in sys/time.h... yes
checking for timercmp in sys/time.h... yes
checking for timerclear in sys/time.h... yes
checking for timerisset in sys/time.h... yes
checking whether CTL_KERN is declared... yes
checking whether KERN_RANDOM is declared... no
checking whether RANDOM_UUID is declared... no
checking whether KERN_ARND is declared... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for gettimeofday... yes
checking for vasprintf... yes
checking for fcntl... yes
checking for clock_gettime... yes
checking for strtok_r... yes
checking for strsep... yes
checking for getnameinfo... yes
checking for strlcpy... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for signal... yes
checking for sigaction... yes
checking for strtoll... yes
checking for inet_aton... yes
checking for pipe... yes
checking for eventfd... no
checking for sendfile... no
checking for mmap... yes
checking for splice... no
checking for arc4random... yes
checking for arc4random_buf... no
checking for issetugid... yes
checking for geteuid... yes
checking for getegid... yes
checking for getprotobynumber... yes
checking for setenv... yes
checking for unsetenv... yes
checking for putenv... yes
checking for sysctl... yes
checking for umask... yes
checking for getaddrinfo... yes
checking size of long... 4
checking for F_SETFD in fcntl.h... yes
checking for select... yes
checking for poll... yes
checking for kqueue... yes
checking for working kqueue... yes
checking for epoll_ctl... no
checking for port_create... no
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for fd_mask... yes
checking size of long long... 8
checking size of long... (cached) 4
checking size of int... 4
checking size of short... 2
checking size of size_t... 4
checking size of void *... 4
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for sa_family_t... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking for struct in6_addr.s6_addr32... no
checking for struct in6_addr.s6_addr16... no
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in6.sin6_len... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for socklen_t... yes
checking whether our compiler supports __func__... yes
checking if linker supports omitting unused code and data... no
configure: creating ./config.status
config.status: creating libevent.pc
config.status: creating libevent_openssl.pc
config.status: creating libevent_pthreads.pc
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory

------------------ Summary ------------------
 lldpd version 0.7.2
  Prefix.........: /usr/pkg
  C Compiler.....: cc -std=gnu99 -O2 -I/usr/pkg/include -I/usr/include -fdiagnostics-show-option -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wfatal-errors -Wcast-align -Winline -fstack-protector -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -I/usr/pkg/include -I/usr/include
  Linker.........: /scratch/net/lldpd/work/.wrapper/bin/ld -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-z,relro -Wl,-z,now 
  Libevent.......: system
  Readline.......: no
 Optional features:
  SNMP support...: no
  CDP............: yes
  FDP............: yes
  EDP............: yes
  SONMP..........: yes
  LLDPMED........: yes
  DOT1...........: yes
  DOT3...........: yes
  XML output.....: no
  JSON output....: no
  Oldies support.: no
---------------------------------------------

Check the above options and compile with:
 make

=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.