=> 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 leveldb-1.20.tar.gz
=> Checksum RMD160 OK for leveldb-1.20.tar.gz
=> Checksum SHA512 OK for leveldb-1.20.tar.gz
===> Installing dependencies for leveldb-1.20
==========================================================================
The supported build options for leveldb are:

	snappy

The currently selected options are:

	snappy

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

	PKG_OPTIONS.leveldb (not defined)

==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency snappy>=1.0.5: found snappy-1.1.4
===> Overriding tools for leveldb-1.20
===> Extracting for leveldb-1.20
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 leveldb-1.20
=> Applying pkgsrc patches for leveldb-1.20
=> Verifying /data/pkgsrc/databases/leveldb/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/databases/leveldb/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2017/03/14 13:12:28 wiz Exp $
|
|Try to be platform agnostic during endianness detection.
|https://code.google.com/p/leveldb/issues/detail?id=137
|
|--- port/port_posix.h.orig	2012-12-27 18:32:31.000000000 +0000
|+++ port/port_posix.h
--------------------------
Patching file port/port_posix.h using Plan A...
Hunk #1 succeeded at 7.
done
===> Creating toolchain wrappers for leveldb-1.20
===> Configuring for leveldb-1.20
=> Checking for portability problems in extracted files