3c5839ab5a
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 <dg@syrec.org> Approved by: jlaffaye (maintainer timeout, ~3 weeks) Differential Revision: https://reviews.freebsd.org/D20813 |
||
---|---|---|
.. | ||
Scripts | ||
Uses | ||
bsd.ccache.mk | ||
bsd.commands.mk | ||
bsd.default-versions.mk | ||
bsd.destdir.mk | ||
bsd.gcc.mk | ||
bsd.gecko.mk | ||
bsd.gstreamer.mk | ||
bsd.java.mk | ||
bsd.ldap.mk | ||
bsd.licenses.db.mk | ||
bsd.licenses.mk | ||
bsd.local.mk | ||
bsd.ocaml.mk | ||
bsd.octave.mk | ||
bsd.options.desc.mk | ||
bsd.options.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.ruby.mk | ||
bsd.sanity.mk | ||
bsd.sites.mk | ||
bsd.ssp.mk | ||
bsd.tex.mk | ||
bsd.wx.mk | ||
bsd.xorg.mk |