=> 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.19.0.tar.gz
=> Checksum RMD160 OK for prometheus-2.19.0.tar.gz
=> Checksum SHA512 OK for prometheus-2.19.0.tar.gz
===> Installing dependencies for prometheus-2.19.0
==========================================================================
The following variables will affect the build process of this package,
prometheus-2.19.0.  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.4*: found go114-1.14.4
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> 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'.
===> Overriding tools for prometheus-2.19.0
===> Extracting for prometheus-2.19.0
===> Patching for prometheus-2.19.0
=> Applying pkgsrc patches for prometheus-2.19.0
=> 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 143 (offset 10 lines).
Hunk #2 succeeded at 173 (offset 10 lines).
Hunk #3 succeeded at 185 (offset 10 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.2 2020/05/26 15:30:49 adam Exp $
|
|Use absolute path for web files.
|
|--- web/ui/ui.go.orig	2020-05-07 16:47:40.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.19.0
===> Configuring for prometheus-2.19.0
=> Checking for portability problems in extracted files
=> Substituting "paths" in cmd/prometheus/main.go
=> Substituting "webui" in web/ui/ui.go