=> Bootstrap dependency digest>=20010302: found digest-20190127
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 mailsync_5.2.1.orig.tar.gz
=> Checksum RMD160 OK for mailsync_5.2.1.orig.tar.gz
=> Checksum SHA512 OK for mailsync_5.2.1.orig.tar.gz
===> Installing dependencies for mailsync-5.2.1nb9
==========================================================================
The following variables will affect the build process of this package,
mailsync-5.2.1nb9.  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 gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency imap-uw>=2007fnb8: found imap-uw-2007fnb8
===> Overriding tools for mailsync-5.2.1nb9
===> Extracting for mailsync-5.2.1nb9
===> Patching for mailsync-5.2.1nb9
=> Applying pkgsrc patches for mailsync-5.2.1nb9
=> Verifying /data/pkgsrc/mail/mailsync/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/mail/mailsync/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.2 2008/04/20 22:47:15 dbj Exp $
|
|--- configure.orig	2004-06-30 01:04:12.000000000 -0700
|+++ configure	2008-04-20 13:35:11.000000000 -0700
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 5025.
Hunk #2 succeeded at 5035.
Hunk #3 succeeded at 5190.
Hunk #4 succeeded at 5462.
Hunk #5 succeeded at 5477.
Hunk #6 succeeded at 5501.
Hunk #7 succeeded at 5533.
done
=> Verifying /data/pkgsrc/mail/mailsync/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/mail/mailsync/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2008/04/20 22:47:15 dbj Exp $
|
|--- aclocal.m4.orig	2004-06-30 01:04:06.000000000 -0700
|+++ aclocal.m4	2008-04-20 13:35:19.000000000 -0700
--------------------------
Patching file aclocal.m4 using Plan A...
Hunk #1 succeeded at 933.
done
===> Creating toolchain wrappers for mailsync-5.2.1nb9
===> Configuring for mailsync-5.2.1nb9
=> Fixing configure script.
=> 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 gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for x86_64--netbsd-gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking for x86_64--netbsd-g++... clang++
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking for gawk... (cached) /usr/bin/awk
checking how to run the C preprocessor... clang -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 for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for getpass... yes
checking for memset... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for crypt in -lcrypt... yes
checking for connect... yes
checking for gethostbyname... yes
checking for libssl... found in /usr/lib
checking for main in -lssl... yes
checking for main in -lcrypto... yes
checking for openssl/ssl.h... found in /usr/include
checking for pam library... not found
checking for c-client.h... found in /data/scratch/mail/mailsync/work/.buildlink/include/c-client
checking for c-client library... found /data/scratch/mail/mailsync/work/.buildlink/lib
checking whether c-client built with kerberos gssapi support... no
checking if kerberos is required and available for linking against c-client... not required
checking whether c-client requires ssl linkage... yes
checking if simple c-client program compiles without pam support... yes
checking if c-client works without -fno-operator-names in c++... no
checking if adding -fno-operator-names helps... no
configure: error: a working c-client installation is required for building mailsync
*** Error code 1

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

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