Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2022 22:31:52 +0100
From:      "Ben Lavery-Griffiths" <ben@lavery-griffiths.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Golang debug/buildinfo
Message-ID:  <61959b1c-8075-4f47-9642-15d28115bfd5@www.fastmail.com>

next in thread | raw e-mail | index | archive | help
Hey all,

I maintain the www/gohugo port, with the upgrade to Go 1.18 they project has switched to using debug/buildinfo (https://pkg.go.dev/runtime/debug#BuildInfo), this gets certain information from VCS, as opposed to passing the values in via ldflags.

Presuming more and more Go projects will use this mechanism, does anyone know how we will be dealing with this for building ports?

Many thanks,
Ben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61959b1c-8075-4f47-9642-15d28115bfd5>