K 10 svn:author V 5 tobik K 8 svn:date V 27 2019-07-26T07:15:08.262912Z K 7 svn:log V 801 Mk/Uses/go.mk: Default to "." instead of PORTNAME If neither GO_PKGNAME or GO_TARGET are set explicitly, go install tries to install a package named ${PORTNAME} which is almost always wrong. This forces Go ports to set GO_PKGNAME or GO_TARGET although their value is often redundant. Update do-build to default to the "." package instead ("the package in the current directory") and teach do-install to install the "." package. In many cases, this removes the need to explicitly set GO_PKGNAME and GO_TARGET making USES=go:modules alone sufficient for simpler ports. This is a backward compatible change. - Assign maintainership to Dmitri Submitted by: Dmitri Goutnik Approved by: jlaffaye (maintainer timeout, ~3 weeks) Differential Revision: https://reviews.freebsd.org/D20813 END