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

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4

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

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4

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 checkperms>=1.1: found checkperms-1.11
=> Full dependency gmp>=5.0.1: found gmp-5.1.2
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.2
=> Full dependency db4>=4.8.30: found db4-4.8.30
===> Overriding tools for opensource-cobol-1.3J
===> Extracting for opensource-cobol-1.3J
===> Patching for opensource-cobol-1.3J
===> Creating toolchain wrappers for opensource-cobol-1.3J
===> Configuring for opensource-cobol-1.3J
=> Fixing runrime error.
=> 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
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./bin/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./cobc/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./config/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./copy/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./lib/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./libcob/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./tests/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./tests/cobol85/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./texi/Makefile.in.
=> 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 gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386--netbsdelf-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ANSI C... 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 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... yes
checking for unistd.h... yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c -o kristerw -g wheel
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking for a sed that does not truncate output... /scratch/lang/opensource-cobol/work/.tools/bin/sed
checking for ld used by cc... /scratch/lang/opensource-cobol/work/.wrapper/bin/ld
checking if the linker (/scratch/lang/opensource-cobol/work/.wrapper/bin/ld) is GNU ld... yes
checking for /scratch/lang/opensource-cobol/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... cpp
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... failed
checking for objdir... .libs
checking for i386--netbsdelf-ar... no
checking for ar... ar
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/scratch/lang/opensource-cobol/work/.wrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for dlfcn.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for inline... inline
checking for working alloca.h... no
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for fcntl... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strdup... yes
checking for strstr... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for ld used by GCC... /scratch/lang/opensource-cobol/work/.wrapper/bin/ld
checking if the linker (/scratch/lang/opensource-cobol/work/.wrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for getopt_long_only... no
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmp_randinit in -lgmp... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/lib/libintl.so
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for BDB db.h version >= 4.1 ... yes (4.8)
checking for BDB 4.1 compatibility in db4 ... yes
checking for dlopen in -lc... yes
configure: creating ./config.status
config.status: creating cob-config
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating libcob/Makefile
config.status: creating cobc/Makefile
config.status: creating bin/Makefile
config.status: creating po/Makefile.in
config.status: creating texi/Makefile
config.status: creating config/Makefile
config.status: creating copy/Makefile
config.status: creating tests/atlocal
config.status: creating tests/Makefile
config.status: creating tests/cobol85/Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

OpenCOBOL Configuration:

  CC                   cc
  COB_CC               cc
  CFLAGS               -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4
  COB_CFLAGS           -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4  -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4
  COB_EXTRA_FLAGS      
  LDFLAGS              -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
  COB_LDFLAGS          -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
  COBC_LIBS             -L/usr/lib -lintl
  COB_LIBS             -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L${exec_prefix}/lib -lcob -lm -lgmp -L/usr/lib -lintl -lcurses -ldb4
  COB_CONFIG_DIR       ${prefix}/share/opensource-cobol-1.3J/config
  COB_COPY_DIR         ${prefix}/share/opensource-cobol-1.3J/copy
  COB_LIBRARY_PATH     ${exec_prefix}/lib/opensource-cobol-1.3J
  COB_MODULE_EXT       so
  COB_SHARED_OPT       -shared
  COB_PIC_FLAGS        -fPIC -DPIC
  COB_EXPORT_DYN       -Wl,--export-dynamic
  COB_STRIP_CMD        strip --strip-unneeded
  Dynamic loading      System

  Use gettext for international messages:      yes
  Use Berkeley DB for file I/O:                yes
  Use enhanced Berkeley DB (>= 4.1)            yes
  Use fcntl for file locking:                  yes
  Use curses/pdcurses/curses for screen I/O:  yes

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