=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
=> 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 ap2-modsecurity-2.5.13nb1
==========================================================================
The supported build options for ap2-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,
ap2-modsecurity-2.5.13nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * PKG_APACHE_DEFAULT = apache22

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

        * APACHE_PKG_PREFIX = ap2
        * CURSES_TYPE = ncurses
        * PKG_APACHE = apache2
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency pax>=20040802: found pax-20080110
=> Build dependency perl>=5.0: found perl-5.14.2nb1
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency apache>=2.0.51<2.2: found apache-2.0.64
=> Full dependency apache>=2.0.63nb6: found apache-2.0.64
=> Full dependency apr-0.9.*: found apr-0.9.19.2.0.64
=> Full dependency apr>=0.9.17.2.0.63nb2: found apr-0.9.19.2.0.64
=> Full dependency libxml2>=2.6.23nb1: found libxml2-2.7.8nb4
=> Full dependency pcre>=6.2: found pcre-8.13
=> Full dependency lua>=5.1.4nb1: found lua-5.1.4nb3
===> Overriding tools for ap2-modsecurity-2.5.13nb1
===> Extracting for ap2-modsecurity-2.5.13nb1
===> Patching for ap2-modsecurity-2.5.13nb1
=> Applying pkgsrc patches for ap2-modsecurity-2.5.13nb1
===> Creating toolchain wrappers for ap2-modsecurity-2.5.13nb1
===> Configuring for ap2-modsecurity-2.5.13nb1
=> 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-unknown-linux-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 pbulk -g pbulk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for perl... /usr/pkg/bin/perl
checking for env... /tmp/pkgsrc/security/ap-modsecurity2/work/.tools/bin/env
checking for egrep... (cached) /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
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
configure: found apxs at /usr/pkg/sbin/apxs
configure: checking httpd version
configure: httpd is recent enough
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of uninitialized value in concatenation (.) or string at /usr/pkg/sbin/apxs line 237.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of uninitialized value in concatenation (.) or string at /usr/pkg/sbin/apxs line 237.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
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-config
configure: using ' -lrt -lm -lcrypt -lnsl  -lpthread -ldl' for apr Library
checking for libapu config script... no
configure: *** apu library not found.
configure: error: apu library is required
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/ap-modsecurity2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/ap-modsecurity2