###
### Tue Feb 3 10:46:33 EST 2004:
### bmake bulk-package for apr-0.9.5.2.0.48nb1
### Current pkg count:  10 installed packages: digest-20021220 gettext-lib-0.11.5nb2 gmake-3.80nb2 libiconv-1.9.1nb1 libtool-base-1.4.20010614nb19 patch-2.5.4nb2 perl-5.6.1nb10 pkg_install-info-4.5nb2 xml-i18n-tools-0.9nb1 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for apr-0.9.5.2.0.48nb1
===> Cleaning for db4-4.2.52
===> Cleaning for libtool-base-1.4.20010614nb19
===> Cleaning for patch-2.5.4nb2
===> Cleaning for expat-1.95.6nb1
===> Cleaning for gmake-3.80nb2
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb2
===> Cleaning for libiconv-1.9.1nb1
BULK> Removing installed packages which are not needed to build apr-0.9.5.2.0.48nb1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> apr-0.9.5.2.0.48nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r perl-5.6.1nb10
BULK> apr-0.9.5.2.0.48nb1 requires installed package libiconv-1.9.1nb1 (converters/libiconv) to build.
BULK> apr-0.9.5.2.0.48nb1 requires installed package gettext-lib-0.11.5nb2 (devel/gettext-lib) to build.
BULK> apr-0.9.5.2.0.48nb1 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> apr-0.9.5.2.0.48nb1 requires installed package gmake-3.80nb2 (devel/gmake) to build.
BULK> apr-0.9.5.2.0.48nb1 requires installed package libtool-base-1.4.20010614nb19 (devel/libtool-base) to build.
BULK> Installing packages which are required to build apr-0.9.5.2.0.48nb1.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/db4-4.2.52.tgz
BULK> Required package libtool-base-1.4.20010614nb19 (devel/libtool-base) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/expat-1.95.6nb1.tgz
BULK> Required package gmake-3.80nb2 (devel/gmake) is already installed
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gettext-lib-0.11.5nb2 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb1 (converters/libiconv) is already installed
BULK> Required package xpkgwedge-1.9 (pkgtools/xpkgwedge) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
bmake package (apr-0.9.5.2.0.48nb1)
===> Checking for vulnerabilities in apr-0.9.5.2.0.48nb1
=> Checksum OK for httpd-2.0.48.tar.gz.
work.sol9 -> /work/pkgbuild/devel/apr/work.sol9
===> Extracting for apr-0.9.5.2.0.48nb1
===> Required installed package db4>=4.2.52: db4-4.2.52 found
===> Required installed package expat>=1.95.4: expat-1.95.6nb1 found
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb19 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for apr-0.9.5.2.0.48nb1
===> Applying pkgsrc patches for apr-0.9.5.2.0.48nb1
===> Overriding tools for apr-0.9.5.2.0.48nb1
===> Buildlinking for apr-0.9.5.2.0.48nb1
===> Configuring for apr-0.9.5.2.0.48nb1
/usr/pkg/bin/nbsed -e 's|@PREFIX@|/usr/pkg|g' < /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr/config.layout > /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr/config.layout.new
/usr/bin/mv /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr/config.layout.new /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr/config.layout
/usr/pkg/bin/nbsed -e 's|@PREFIX@|/usr/pkg|g' < /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr-util/config.layout > /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr-util/config.layout.new
/usr/bin/mv /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr-util/config.layout.new /work/pkgbuild/devel/apr/work.sol9/httpd-2.0.48/srclib/apr-util/config.layout
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
Configuring APR library
Platform: sparc-sun-solaris2.9
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... cc
checking for C compiler default output... 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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
Applying APR hints file rules for sparc-sun-solaris2.9
  setting CPPFLAGS to "-DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
  setting apr_iconv_inbuf_const to "1"
(Default will be unix)
checking whether bmake sets ${MAKE}... yes
checking how to run the C preprocessor... cc -E
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... build/install.sh -c
checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for ar... ar
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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... no
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether system uses EBCDIC... no
performing libtool configuration...
checking for non-GNU ld... ld
checking if the linker (ld) is GNU ld... no
checking for ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking for a sed that does not truncate output... /work/pkgbuild/devel/apr/work.sol9/.tools/bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/ccs/bin/nm -p output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... no
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool

Check for compiler flags...
checking if cc -MM can create proper make dependencies... no
checking if cc -M can create proper make dependencies... no
checking if cc -E -MM can create proper make dependencies... no
checking if cc -E -M can create proper make dependencies... no
checking if cpp -M can create proper make dependencies... no
checking for res_init in -lresolv... yes
checking for gethostbyname in -lnsl... yes
checking for library containing gethostname... none required
checking for socket in -lsocket... yes
checking for library containing crypt... none required
checking for main in -ltruerand... no
checking for library containing modf... none required
checking for library containing sqrt... -lm

Checking for Threads...
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthreads_cflags... 
checking for pthreads_lib... pthread
checking for pthread.h... (cached) yes
checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for pthread_key_delete... yes
checking for pthread_rwlock_init... yes
APR will use threads
checking for readdir in -lc_r... no
checking for gethostbyname in -lc_r... no
checking for gethostbyaddr in -lc_r... no
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking for sigsuspend... yes
checking for sigwait... yes
checking for poll... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getgrnam_r... yes
checking for getgrgid_r... yes

Checking for Shared Memory Support...
checking for library containing shm_open... -lrt
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mutex.h usability... yes
checking sys/mutex.h presence... yes
checking for sys/mutex.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking for mmap... yes
checking for munmap... yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
checking for /dev/zero... yes
checking for mmap that can map /dev/zero... yes
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON
decision on namebased memory allocation method... SysV IPC shmget()
checking for alloca... no
checking for calloc... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for setsid... yes
checking for isinf... no
checking for isnan... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... no
checking for unsetenv... no
checking for setrlimit... yes
checking for getrlimit... yes
checking for writev... yes
checking for sendfilev in -lsendfile... yes
checking for sendfile... yes
checking for send_file... no
checking for sendfilev... yes
checking for utime... yes
checking for utimes... yes
checking for sigaction... yes
checking for sys_siglist declaration in signal.h or unistd.h... no
checking for fork... yes
checking for inet_addr... yes
checking for inet_network... yes
checking for _getch... no
checking for strerror_r... no
checking for crypt_r... no
checking for mmap... (cached) yes
checking for memmove... yes
checking for getpass... yes
checking for getpassphrase... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for hstrerror... yes
checking for mkstemp... yes
checking whether sigwait takes one argument... no
checking for inode member of struct dirent... d_ino
checking for file type member of struct dirent... no
checking for ANSI C header files... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking ByteOrder.h usability... no
checking ByteOrder.h presence... no
checking for ByteOrder.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysapi.h usability... no
checking sysapi.h presence... no
checking for sysapi.h... no
checking sysgtime.h usability... no
checking sysgtime.h presence... no
checking for sysgtime.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tpfeq.h usability... no
checking tpfeq.h presence... no
checking for tpfeq.h... no
checking tpfio.h usability... no
checking tpfio.h presence... no
checking for tpfio.h... no
checking for unistd.h... (cached) yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for kernel/OS.h... (cached) no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
checking netinet/sctp_uio.h usability... no
checking netinet/sctp_uio.h presence... no
checking for netinet/sctp_uio.h... no
checking for sys/file.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for sys/stat.h... (cached) yes
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for netinet/tcp.h... yes
checking for h_errno in netdb.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for ssize_t... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether setpgrp takes no argument... yes
checking for socklen_t... yes
checking whether system defines INADDR_NONE... no
checking for void*... yes
checking size of void*... 4
checking for char... yes
checking size of char... 1
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for short... yes
checking size of short... 2
checking for long double... yes
checking size of long double... 16
checking for long long... yes
checking size of long long... 8
checking for INT64_C... no
checking size of ssize_t... 4
checking size of size_t... 4
checking size of off_t... 4
checking size of pid_t... 4
checking for strnicmp... no
checking for strncasecmp... yes
checking for stricmp... (cached) no
checking for strcasecmp... (cached) yes
checking for strdup... yes
checking for strstr... yes
checking for memchr... yes
checking for strtoll... yes

Checking for DSO...
checking for NSLinkModule... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
  adding "-ldl" to LIBS
checking for dlsym... yes

Checking for Processes...
checking for waitpid... yes
checking for Variable Length Arrays... yes
checking struct rlimit... yes

Checking for Locking...
checking for semget... yes
checking for semctl... yes
checking for flock... no
checking for semaphore.h... (cached) yes
checking for sem_close... yes
checking for sem_unlink... yes
checking for sem_post... yes
checking for sem_wait... yes
checking for working sem_open... yes
checking for union semun in sys/sem.h... no
checking for LOCK_EX in sys/file.h... no
checking for F_SETLK in fcntl.h... yes
checking for SEM_UNDO in sys/sem.h... yes
checking for POLLIN in poll.h sys/poll.h... yes
checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
checking for pthread_mutexattr_setpshared... yes
checking for working PROCESS_SHARED locks... yes
checking for pthread_mutexattr_setrobust_np... yes
decision on apr_lock implementation method... pthread mutex
checking if all interprocess locks affect threads... no
checking if POSIX sems affect threads in the same process... no
checking if SysV sems affect threads in the same process... no
checking if fcntl locks affect threads in the same process... no
checking if flock locks affect threads in the same process... no
checking for entropy source... /dev/urandom

Checking for Time Support...
checking for tm_gmtoff in struct tm... no

Checking for Networking support...
checking for in_addr in netinet/in.h... yes
checking if fd == socket on this platform... yes
checking style of gethostbyname_r routine... none
checking 3rd argument to the gethostbyname_r routines... char
checking if TCP_NODELAY setting is inherited from listening sockets... yes
checking if O_NONBLOCK setting is inherited from listening sockets... yes
checking for TCP_CORK in netinet/tcp.h... no
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking if SCTP protocol is supported... no
checking for set_h_errno... no
checking for presence of retrans/retry fields in res_state/resolv.h ... yes

Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... no
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking whether getnameinfo resolves IPv4-mapped IPv6 addresses... yes
checking if APR supports IPv6... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes

Restore user-defined environment settings...
  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to "-DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
  restoring CFLAGS to "-O -I/usr/pkg/include"
  setting EXTRA_CFLAGS to ""
  restoring LDFLAGS to " -L/usr/pkg/lib -Wl,-R/usr/pkg/lib"
  setting EXTRA_LDFLAGS to ""
  restoring LIBS to " -L/usr/pkg/lib -Wl,-R/usr/pkg/lib"
  setting EXTRA_LIBS to "-lsendfile -lrt -lm -lsocket -lnsl -lresolv -lpthread -ldl"
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to ""

Construct Makefiles and header files.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating strings/Makefile
config.status: creating passwd/Makefile
config.status: creating tables/Makefile
config.status: creating build/Makefile
config.status: creating file_io/unix/Makefile
config.status: creating network_io/unix/Makefile
config.status: creating threadproc/unix/Makefile
config.status: creating misc/unix/Makefile
config.status: creating locks/unix/Makefile
config.status: creating time/unix/Makefile
config.status: creating mmap/unix/Makefile
config.status: creating shmem/unix/Makefile
config.status: creating user/unix/Makefile
config.status: creating memory/unix/Makefile
config.status: creating atomic/unix/Makefile
config.status: creating poll/unix/Makefile
config.status: creating support/unix/Makefile
config.status: creating dso/unix/Makefile
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating apr-config
config.status: creating include/arch/unix/apr_private.h
config.status: executing default commands
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for working mkdir -p... yes
APR-util Version: 0.9.5
checking for chosen layout... apr-util
Applying apr-util hints file rules for sparc-sun-solaris2.9
  setting apu_iconv_inbuf_const to "1"
  setting apu_crypt_threadsafe to "1"
checking for APR... yes
  setting CPP to "cc -E"
  setting CPPFLAGS to " -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
checking for gcc... cc
checking for C compiler default output... 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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -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... no
checking for unistd.h... yes
checking for ldap support...
checking checking for Berkeley DB 4.1 in /usr/pkg/include and /usr/pkg... 
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for db-4.1... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for db4... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for db... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 4.0 in /usr/pkg/include and /usr/pkg... 
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for db-4.0... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for db4... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for db... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 3 in /usr/pkg/include and /usr/pkg... 
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 2 in /usr/pkg/include and /usr/pkg... 
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 1.0.0 in /usr/pkg/include and /usr/pkg... 
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking checking for Berkeley DB 1 in /usr/pkg/include and /usr/pkg... 
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
configure: error: Berkeley DB not found.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/apr
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/apr
BULK> apr-0.9.5.2.0.48nb1 was marked as broken:
-rw-r--r--   1 root     other      27061 Feb  3 10:56 .broken.html
bmake deinstall
===> Deinstalling for apr
BULK> Marking all packages which depend upon apr-0.9.5.2.0.48nb1 as broken:
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: p5-subversion-0.37.0 (devel/p5-subversion)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: subversion-0.37.0 (devel/subversion)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: p5-SVN-Web-0.35 (www/p5-SVN-Web)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: py22-subversion-0.37.0 (devel/py-subversion)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: rapidsvn-0.4.0nb4 (devel/rapidsvn)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: subversion-base-0.37.0 (devel/subversion-base)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: ap2-subversion-0.37.0 (www/ap2-subversion)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: ap2-auth-mysql-1.11.12 (www/ap2-auth-mysql)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: ap2-perl-1.99.12nb1 (www/ap2-perl)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: ap2-ruby-1.1.1nb1 (www/ap2-ruby)
BULK> marking package that requires apr-0.9.5.2.0.48nb1 as broken: apache-2.0.48nb3 (www/apache2)
BULK> Build for apr-0.9.5.2.0.48nb1 was not successful, aborting.