=> Bootstrap dependency digest>=20010302: found digest-20121220
===> 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 modsecurity-apache_2.5.13.tar.gz
=> Checksum RMD160 OK for modsecurity-apache_2.5.13.tar.gz
===> Installing dependencies for ap22-modsecurity-2.5.13nb6
==========================================================================
The supported build options for ap22-modsecurity are:

	curl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.ap-modsecurity2 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
ap22-modsecurity-2.5.13nb6.  Their current value is shown below:

        * PKG_APACHE_DEFAULT = apache22
        * READLINE_DEFAULT = editline

Based on these variables, the following variables have been set:

        * APACHE_PKG_PREFIX = ap22
        * PKG_APACHE = apache22
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

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.2nb4
=> Tool dependency perl>=5.0: found perl-5.18.0nb2
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency apache>=2.2.3<2.3: found apache-2.2.25
=> Full dependency apache>=2.2.23nb4: found apache-2.2.25
=> Full dependency apr>=1.4.5nb3: found apr-1.4.8
=> Full dependency apr-util>=1.4.1nb4: found apr-util-1.5.2
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.1
=> Full dependency pcre>=8.30nb1: found pcre-8.33
=> Full dependency lua>=5.2.0: found lua-5.2.2
===> Overriding tools for ap22-modsecurity-2.5.13nb6
===> Extracting for ap22-modsecurity-2.5.13nb6
===> Patching for ap22-modsecurity-2.5.13nb6
=> Applying pkgsrc patches for ap22-modsecurity-2.5.13nb6
=> Verifying /data/pkgsrc/security/ap-modsecurity2/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/security/ap-modsecurity2/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.7 2011/03/19 21:18:06 dholland Exp $
|
|destdir support.
|
|--- Makefile.in~	2011-03-19 20:34:00.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 81.
done
===> Creating toolchain wrappers for ap22-modsecurity-2.5.13nb6
/bin/mkdir -p /scratch/security/ap-modsecurity2/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /scratch/security/ap-modsecurity2/work/.buildlink/bin/apxs
/bin/mkdir -p /scratch/security/ap-modsecurity2/work/.buildlink/bin && /bin/ln -fs apr-1-config /scratch/security/ap-modsecurity2/work/.buildlink/bin/apr-config
/bin/mkdir -p /scratch/security/ap-modsecurity2/work/.buildlink/bin && /bin/ln -fs apu-1-config /scratch/security/ap-modsecurity2/work/.buildlink/bin/apu-config
===> Configuring for ap22-modsecurity-2.5.13nb6
=> 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 gawk... /usr/bin/awk
checking for x86_64--netbsd-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for perl... /usr/pkg/bin/perl
checking for env... /scratch/security/ap-modsecurity2/work/.tools/bin/env
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for atexit... yes
checking for getcwd... yes
checking for memmove... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for fchmod... yes
configure: looking for Apache module support via DSO through APXS
configure: found apxs at /usr/pkg/sbin/apxs
configure: checking httpd version
configure: httpd is recent enough
Use of uninitialized value in concatenation (.) or string at /usr/pkg/sbin/apxs line 236.
Use of uninitialized value in concatenation (.) or string at /usr/pkg/sbin/apxs line 236.
checking for libpcre config script... /usr/pkg/bin/pcre-config
configure: using '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre' for pcre Library
checking for libapr config script... /usr/pkg/bin/apr-1-config
configure: using ' -lcrypt  -lpthread' for apr Library
checking for libapu config script... /usr/pkg/bin/apu-1-config
configure: using '     -lexpat' for apu Library
checking for libxml2 config script... /usr/pkg/bin/xml2-config
configure: using '-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -lz -lm' for libxml2
checking for liblua config script... pkg-config: not found
pkg-config: not found
pkg-config: not found
pkg-config: not found
pkg-config: not found
pkg-config: not found
pkg-config: not found
pkg-config: not found
no
checking for lua install... /usr/pkg/lib /usr/pkg/include
configure: using '-L/usr/pkg/lib -llua' for lua Library
checking for libcurl config script... no
configure: *** curl library not found.
configure: NOTE: curl library is only required for building mlogc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/apxs-wrapper
config.status: creating mlogc-src/mlogc-batch-load.pl
config.status: creating t/run-unit-tests.pl
config.status: creating t/run-regression-tests.pl
config.status: creating t/gen_rx-pm.pl
config.status: creating t/csv_rx-pm.pl
config.status: creating t/regression/server_root/conf/httpd.conf
config.status: creating ../tools/rules-updater.pl
config.status: creating mlogc-src/Makefile
config.status: creating mod_security2_config.h
config.status: mod_security2_config.h is unchanged
=> Modifying libtool scripts to use pkgsrc libtool
