=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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 prometheus-2.17.1.tar.gz
=> Checksum RMD160 OK for prometheus-2.17.1.tar.gz
=> Checksum SHA512 OK for prometheus-2.17.1.tar.gz
===> Installing dependencies for prometheus-2.17.1nb1
==========================================================================
The following variables will affect the build process of this package,
prometheus-2.17.1nb1.  Their current value is shown below:

        * PKG_SYSCONFDIR = /usr/pkg/etc/prometheus
        * VARBASE = /var

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 checkperms>=1.1: found checkperms-1.12
=> Build dependency go114-1.14.2*: found go114-1.14.2
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Overriding tools for prometheus-2.17.1nb1
===> Extracting for prometheus-2.17.1nb1
===> Patching for prometheus-2.17.1nb1
=> Applying pkgsrc patches for prometheus-2.17.1nb1
=> Verifying /data/pkgsrc/databases/prometheus/patches/patch-cmd_prometheus_main.go
=> Applying pkgsrc patch /data/pkgsrc/databases/prometheus/patches/patch-cmd_prometheus_main.go
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmd_prometheus_main.go,v 1.2 2019/05/20 09:23:00 adam Exp $
|
|Add prefix for SYSCONFDIR and VARBASE to store configuration file and metrics data at the correct location.
|
|--- cmd/prometheus/main.go.orig	2019-04-24 15:30:33.000000000 +0000
|+++ cmd/prometheus/main.go
--------------------------
Patching file cmd/prometheus/main.go using Plan A...
Hunk #1 succeeded at 139 (offset 6 lines).
Hunk #2 succeeded at 169 (offset 6 lines).
Hunk #3 succeeded at 181 (offset 6 lines).
done
=> Verifying /data/pkgsrc/databases/prometheus/patches/patch-web_ui_ui.go
=> Applying pkgsrc patch /data/pkgsrc/databases/prometheus/patches/patch-web_ui_ui.go
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-web_ui_ui.go,v 1.1 2020/01/08 22:33:05 adam Exp $
|
|Use absolute path for web files.
|
|--- web/ui/ui.go.orig	2020-01-08 22:04:44.000000000 +0000
|+++ web/ui/ui.go
--------------------------
Patching file web/ui/ui.go using Plan A...
Hunk #1 succeeded at 27.
done
===> Creating toolchain wrappers for prometheus-2.17.1nb1
===> Configuring for prometheus-2.17.1nb1
=> Checking for portability problems in extracted files
=> Substituting "paths" in cmd/prometheus/main.go
=> Substituting "webui" in web/ui/ui.go