=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 fdm-1.9.tar.gz
=> Checksum RMD160 OK for fdm-1.9.tar.gz
=> Checksum SHA512 OK for fdm-1.9.tar.gz
===> Installing dependencies for fdm-1.9nb1
==========================================================================
The supported build options for fdm are:

	debug pcre

The currently selected options are:

	pcre

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

	PKG_OPTIONS.fdm (not defined)

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

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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 automake>=1.9: found automake-1.15.1
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency pcre>=8.30nb1: found pcre-8.42
=> Full dependency tdb>=1.0.6nb2: found tdb-1.3.8
===> Overriding tools for fdm-1.9nb1
===> Extracting for fdm-1.9nb1
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
===> Patching for fdm-1.9nb1
=> Applying pkgsrc patches for fdm-1.9nb1
=> Verifying /data/pkgsrc/mail/fdm/patches/patch-Makefile.am
=> Applying pkgsrc patch /data/pkgsrc/mail/fdm/patches/patch-Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.am,v 1.1 2015/11/06 20:34:00 joerg Exp $
|
|--- Makefile.am.orig	2015-11-06 14:11:58.000000000 +0000
|+++ Makefile.am
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 109.
done
=> Verifying /data/pkgsrc/mail/fdm/patches/patch-fdm.h
=> Applying pkgsrc patch /data/pkgsrc/mail/fdm/patches/patch-fdm.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-fdm.h,v 1.3 2015/09/25 13:08:44 leot Exp $
|
|MAXNAMLEN is not POSIX. For systems that does not define it use NAME_MAX
|macro instead.
|
|--- fdm.h.orig	2015-09-14 14:40:44.000000000 +0000
|+++ fdm.h
--------------------------
Patching file fdm.h using Plan A...
Hunk #1 succeeded at 72.
done
===> Creating toolchain wrappers for fdm-1.9nb1
===> Configuring for fdm-1.9nb1
cd /data/scratch/mail/fdm/work/fdm-1.9 && ./autogen.sh
configure.ac:17: installing 'etc/compile'
configure.ac:10: installing 'etc/config.guess'
configure.ac:10: installing 'etc/config.sub'
configure.ac:8: installing 'etc/install-sh'
configure.ac:8: installing 'etc/missing'
Makefile.am: installing 'etc/depcomp'
configure.ac: installing 'etc/ylwrap'
=> 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 a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... etc/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for x86_64--netbsd-gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking for bison... /usr/bin/yacc
checking how to run the C preprocessor... clang -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 sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/tree.h usability... yes
checking sys/tree.h presence... yes
checking for sys/tree.h... yes
checking for setproctitle... yes
checking for mremap... (cached) no
checking for setresuid... no
checking for setresgid... no
checking for library containing tdb_open... -ltdb
checking for library containing gzflush... -lz
checking for library containing BIO_new... -lcrypto
checking for library containing SSL_library_init... no
configure: error: "libssl not found"
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/mail/fdm
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/mail/fdm