With the update to go-modules, the path where the version variables are located changed, see https://github.com/prometheus/node_exporter/commit/becca1275c77ffab31ec7082b3bd9ba9382a6c1a#diff-07d111372e64f2921c7241dc8f97fb04L8-R12. Patch incoming.
Created attachment 209884 [details] Update path of version variable This patch removes the vendor section from the path to the version variables populated at build time.
A commit references this bug: Author: dmgk Date: Fri Dec 13 11:55:50 UTC 2019 New revision: 520023 URL: https://svnweb.freebsd.org/changeset/ports/520023 Log: sysutils/node_exporter: Fix version variable path PR: 242591 Submitted by: xavier.l+bsd@magnax.ca Approved by: jevonearth <ports@ecadlabs.com> (maintainer) Changes: head/sysutils/node_exporter/Makefile
Committed, thanks!