=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for clamav-0.102.3.tar.gz
=> Checksum RMD160 OK for clamav-0.102.3.tar.gz
=> Checksum SHA512 OK for clamav-0.102.3.tar.gz
===> Installing dependencies for clamav-0.102.3
==========================================================================
The supported build options for clamav are:

	clamav-experimental milter unit-test

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

	PKG_OPTIONS.clamav (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
clamav-0.102.3.  Their current value is shown below:

        * CLAMAV_DBDIR = /var/clamav
        * CLAMAV_GROUP = clamav
        * CLAMAV_USER = clamav
        * CURSES_DEFAULT = curses
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * CURSES_TYPE = curses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

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 distcc-[0-9]*: found distcc-3.3
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency gsed>=3.0.2: found gsed-4.8
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libmspack>=0.5alpha: found libmspack-0.10.1alpha
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.6
=> Full dependency pcre2>=10.30: found pcre2-10.34
=> Full dependency gmp>=5.0.1: found gmp-6.2.0
=> Full dependency json-c>=0.12: found json-c-0.13.1
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.10nb1
=> Full dependency curl>=7.69.0nb1: found curl-7.69.1
===> Overriding tools for clamav-0.102.3
===> Extracting for clamav-0.102.3
===> Patching for clamav-0.102.3
=> Applying pkgsrc patches for clamav-0.102.3
===> Creating toolchain wrappers for clamav-0.102.3
===> Configuring for clamav-0.102.3
=> Substituting "vars" in etc/clamav-milter.conf.sample etc/clamd.conf.sample
=> 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 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 c++ accepts -g... yes
checking build system type... aarch64--netbsd
checking host system type... aarch64--netbsd
checking target system type... aarch64--netbsd
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '999' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of c++... gcc3
checking whether make supports nested variables... (cached) yes
checking for aarch64--netbsd-gcc... gcc
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for aarch64--netbsd-ar... no
checking for aarch64--netbsd-lib... no
checking for aarch64--netbsd-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/pkg/bin/gsed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld
checking if the linker (/tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/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 how to convert aarch64--netbsd file names to aarch64--netbsd format... func_convert_file_noop
checking how to convert aarch64--netbsd file names to toolchain format... func_convert_file_noop
checking for /tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld option to reload object files... -r
checking for aarch64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for aarch64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64--netbsd-ar... ar
checking for archiver @FILE support... @
checking for aarch64--netbsd-strip... no
checking for strip... strip
checking for aarch64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for aarch64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/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 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 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... no
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld
checking if the linker (/tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes
checking whether lt_dlinterface_register is declared... yes
checking for lt_dladvise_preload in -lltdl... yes
checking where to find libltdl headers... -I/usr/pkg/include
checking where to find libltdl library... -L/usr/pkg/lib -lltdl
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for aarch64--netbsd-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for cos in -lm... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for C/C++ restrict keyword... __restrict
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a supported version of gcc... ok (7.4.0)
checking for gcc bug PR27603... ok, bug not present
checking for gcc bug PR26763-2... ok, bug not present
checking for valid code generation of CLI_ISCONTAINED... ok, bug not present
checking for gcc bug PR28045... ok, bug not present
checking for gcc bug PR37573... ok, bug not present
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void *... 8
checking for ld --version-script... yes
checking whether uname(2) is POSIX... yes
checking for bind in -lsocket... no
checking for library containing gethostent... none required
checking for poll... yes
checking for setsid... yes
checking for memcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror_r... yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for strcasestr... yes
checking for inet_ntop... yes
checking for setgroups... yes
checking for initgroups... yes
checking for ctime_r... yes
checking for mkstemp... yes
checking for mallinfo... no
checking for madvise... yes
checking for getnameinfo... yes
checking for strndup... yes
checking for strnlen... yes
checking for strnstr... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for working mmap... yes
checking for sysconf(_SC_PAGESIZE)... yes
checking for getpagesize()... yes
checking for MAP_ANON(YMOUS)... MAP_ANONYMOUS
checking for enable_extended_FILE_stdio... no
checking for timegm... yes
checking for sysctlbyname... yes
checking for CHECK... no
checking for ld used by GCC... /tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld
checking if the linker (/tmp/pkgbuild/security/clamav/work.aarch64/.cwrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking check.h usability... no
checking check.h presence... no
checking for check.h... no
configure: unable to compile/link with check
checking for libxml2 installation... /usr/pkg
checking for xml2-config... /tmp/pkgbuild/security/clamav/work.aarch64/.buildlink/bin/xml2-config
checking for xmlreader.h in /usr/pkg/include/libxml2/libxml/xmlreader.h... found
CPPFLAGS: -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include
LD_FLAGS: -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -L/usr/lib -lz -L/usr/lib -llzma -L/usr/lib -lm
checking for xmlTextReaderRead in -lxml2... yes
configure: Compiling and linking with libxml2 from /usr/pkg
checking for OpenSSL installation... checking for CRYPTO_free in -lcrypto... yes
checking for X509_VERIFY_PARAM_new in -lssl... yes
checking for libjson installation... /usr/pkg
checking for json_object_object_get_ex in -ljson-c... yes
checking for pcre2-config... /usr/pkg/bin/pcre2-config
checking pcre-config version... 10.34
checking for CVE-2017-7186... ok
configure: CFLAGS from pcre-config: -I/usr/pkg/include
configure: LIBS from pcre-config: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre2-8
configure: Compiling and linking with pcre2 from /usr/pkg
checking for LIBMSPACK... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflateEnd in -lz... yes
checking for gzopen in -lz... yes
checking how to link with libbz2... /usr/lib/libbz2.so
checking for BZ2_bzDecompressInit in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for CVE-2008-1372... ok
checking for CVE-2010-0405... ok
checking for getaddrinfo... yes
checking for SYSTEMD... no
checking for SYSTEMD... no
systemd is not supported
./configure: --variable=systemdsystemunitdir: not found
checking for systemd system unit installation directory... no
checking for IPv6 support... yes
checking for resolv.h... yes
checking for dn_expand in std libs... yes
checking whether setpgrp takes no argument... no
checking for iconv... yes
checking for working 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 iconv.h... yes
checking localcharset.h usability... no
checking localcharset.h presence... no
checking for localcharset.h... no
checking for locale_charset... no
checking for locale_charset in -lcharset... no
checking for pthread.h... (cached) yes
checking whether in_port_t is defined... yes
checking for in_addr_t definition... yes
checking for sched_yield... yes
checking for pthread_yield... no
checking for ctime_r... yes, and it takes 2 arguments
checking for socklen_t... yes
checking for structure packing via __attribute__((packed))... yes
checking for type aligning via __attribute__((aligned))... yes
checking that structure packing works... yes
checking for fd_set... yes, found in sys/select.h
checking default FD_SETSIZE value... 256
checking stat64... no
checking whether signed right shift is sign extended... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_control field in struct msghdr... yes
checking BSD 4.4 / RFC2292 style fd passing... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
configure: unable to compile/link with ncurses
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking linking with ncurses... ok
configure: Compiling and linking with ncurses by using  -lncurses
checking for llvm-config... no
checking LFS safe fts implementation... no
checking for libcurl installation... /usr/pkg
checking for gawk... (cached) /usr/bin/awk
checking for curl-config... /usr/pkg/bin/curl-config
checking for curl_easy_init in -lcurl... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for aarch64--netbsd-gcc... no
checking for aarch64--netbsd-objcc... no
checking for aarch64--netbsd-objc... no
checking for aarch64--netbsd-cc... no
checking for aarch64--netbsd-CC... no
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for sys/int_types.h... (cached) no
checking for inttypes.h... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libltdl/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating clamav-types.h
config.status: creating clamav-version.h
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamd/clamav-daemon.service
config.status: creating clamd/clamav-daemon.socket
config.status: creating clamdscan/Makefile
config.status: creating clamsubmit/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/clamav-freshclam.service
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating test/Makefile
config.status: creating unit_tests/Makefile
config.status: creating fuzz/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
config.status: creating docs/man/clamav-milter.8
config.status: creating docs/man/clamav-milter.conf.5
config.status: creating docs/man/clambc.1
config.status: creating docs/man/clamconf.1
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/clamdscan.1
config.status: creating docs/man/clamscan.1
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating docs/man/sigtool.1
config.status: creating docs/man/clamdtop.1
config.status: creating docs/man/clamsubmit.1
config.status: creating clamav-config.h
config.status: creating libclammspack/config.h
config.status: libclammspack/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libltdl/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating clamav-types.h
config.status: creating clamav-version.h
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamd/clamav-daemon.service
config.status: creating clamd/clamav-daemon.socket
config.status: creating clamdscan/Makefile
config.status: creating clamsubmit/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/clamav-freshclam.service
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating test/Makefile
config.status: creating unit_tests/Makefile
config.status: creating fuzz/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
config.status: creating docs/man/clamav-milter.8
config.status: creating docs/man/clamav-milter.conf.5
config.status: creating docs/man/clambc.1
config.status: creating docs/man/clamconf.1
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/clamdscan.1
config.status: creating docs/man/clamscan.1
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating docs/man/sigtool.1
config.status: creating docs/man/clamdtop.1
config.status: creating docs/man/clamsubmit.1
config.status: creating libclamav/Makefile
config.status: creating clamav-config.h
config.status: clamav-config.h is unchanged
config.status: creating libclammspack/config.h
config.status: libclammspack/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: Summary of detected features follows
              OS          : netbsd
              pthreads    : yes (-lpthread)
configure: Summary of miscellaneous features
              check       : no (auto)
              fanotify    : no (disabled)
              fdpassing   : 1
              IPv6        : yes
              openssl     : /usr
              libcurl     : /usr/pkg
configure: Summary of optional tools
              clamdtop    : yes (-lncurses)
              milter      : no (missing libmilter) (disabled)
              clamsubmit  : yes (libjson-c-dev found at /usr/pkg, linking=dynamic)
              clamonacc   : no (disabled)
configure: Summary of engine performance features
              release mode: yes
              llvm        : no (disabled)
              mempool     : yes
configure: Summary of engine detection features
              iconv       : yes
              bzip2       : ok
              zlib        : yes (zlib found at /usr)
              unrar       : no (disabled)
              preclass    : yes (libjson-c-dev found at /usr/pkg, linking=dynamic)
              pcre        : /usr/pkg
              libmspack   : yes (Internal)
              libxml2     : yes, from /usr/pkg
              yara        : yes
              fts         : yes (internal, libc's is not LFS compatible)
configure: WARNING:
****** libjson-c is known to share symbol names with other JSON libraries
****** which may result in crashes for applications that use libclamav.
****** Consider using --with-libjson-static=path/to/libjson-c.a,
****** providing a json-c library that was compiled with CFLAGS="-fPIC".
    
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp