Created attachment 205378 [details] patch file Add "no_targets" and "run" args to Mk/Uses/go.mk and convert remaining ~110 ports that use explicit BUILD_DEPENDS/RUN_DEPENDS on lang/go to USES=go. Attached is a composite patch of the corresponding Phab reviews: https://reviews.freebsd.org/D20735 https://reviews.freebsd.org/D20746
Who is going to commit this if the exp-run is fine?
(In reply to Antoine Brodin from comment #1) What about giving him a ports bit?
(In reply to Antoine Brodin from comment #1) > Who is going to commit this if the exp-run is fine? I will.
Exp-run looks fine
A commit references this bug: Author: tobik Date: Sat Jun 29 03:51:28 UTC 2019 New revision: 505321 URL: https://svnweb.freebsd.org/changeset/ports/505321 Log: Convert all Go ports to USES=go This allows for port testing with lang/go-devel via GO_PORT, setting up the Go build environment in a single place, and is step one in simplifying Go ports that often define too complicated do-build targets themselves. USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and 'no_targets' for ports with composite builds that call 'go' themselves and do not need the do-build/do-install targets of USES=go. PR: 238849 Submitted by: dg@syrec.org (also D20745) Reviewed by: mat, tobik Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D20746 Changes: head/Mk/Uses/go.mk head/databases/cayley/Makefile head/databases/cockroach/Makefile head/databases/go-carbon/Makefile head/databases/influxdb/Makefile head/databases/mongodb34-tools/Makefile head/databases/mongodb36-tools/Makefile head/databases/pgmetrics/Makefile head/databases/tile38/Makefile head/databases/usql/Makefile head/deskutils/chart/Makefile head/devel/arduino-builder/Makefile head/devel/arduinoOTA/Makefile head/devel/awless/Makefile head/devel/bloaty/Makefile head/devel/git-codereview/Makefile head/devel/git-town/Makefile head/devel/gitaly/Makefile head/devel/gitlab-runner/Makefile head/devel/gitlab-shell/Makefile head/devel/go-bindata/Makefile head/devel/go-protobuf/Makefile head/devel/go-tools/Makefile head/devel/gogs/Makefile head/devel/goprotobuf/Makefile head/devel/gpm/Makefile head/devel/grpc/Makefile head/devel/grumpy/Makefile head/devel/grv/Makefile head/devel/gvp/Makefile head/devel/jiri/Makefile head/devel/lab/Makefile head/devel/liteide/Makefile head/devel/loccount/Makefile head/devel/mage/Makefile head/devel/pprof/Makefile head/dns/amass/Makefile head/dns/knot-resolver/Makefile head/editors/micro/Makefile head/finance/fixc/Makefile head/misc/cryptoballot/Makefile head/misc/exercism/Makefile head/net/clash/Makefile head/net/geoipupdate/Makefile head/net/goreplay/Makefile head/net/grpcurl/Makefile head/net/nncp/Makefile head/net/nsq/Makefile head/net/syncthing/Makefile head/net/wireguard-go/Makefile head/net-im/coyim/Makefile head/net-im/matterbridge/Makefile head/net-im/matterircd/Makefile head/net-im/slack-term/Makefile head/net-im/ssh-chat/Makefile head/net-im/xmpp-client/Makefile head/net-mgmt/carbon-relay-ng/Makefile head/net-mgmt/carbonzipper/Makefile head/net-mgmt/intel-snap/Makefile head/net-mgmt/kapacitor/Makefile head/net-mgmt/telegraf/Makefile head/net-p2p/go-ethereum/Makefile head/print/cloud-print-connector/Makefile head/print/cloud-print-connector/distinfo head/science/molgif/Makefile head/security/2fa/Makefile head/security/acmetool/Makefile head/security/boringssl/Makefile head/security/govpn/Makefile head/security/honeybadger/Makefile head/security/meek/Makefile head/security/onionscan/Makefile head/security/teleport/Makefile head/security/vault/Makefile head/sysutils/amazon-ssm-agent/Makefile head/sysutils/circonus-agent/Makefile head/sysutils/consul/Makefile head/sysutils/consul-alerts/Makefile head/sysutils/consul-replicate/Makefile head/sysutils/consul_exporter/Makefile head/sysutils/direnv/Makefile head/sysutils/docker-freebsd/Makefile head/sysutils/envconsul/Makefile head/sysutils/epazote/Makefile head/sysutils/goawk/Makefile head/sysutils/gomplate/Makefile head/sysutils/goss/Makefile head/sysutils/gotop/Makefile head/sysutils/hfm/Makefile head/sysutils/log-courier/Makefile head/sysutils/logstash-forwarder/Makefile head/sysutils/nomad/Makefile head/sysutils/serf/Makefile head/sysutils/sockaddr/Makefile head/textproc/consul-template/Makefile head/textproc/spiff/Makefile head/www/carbonapi/Makefile head/www/gitlab-pages/Makefile head/www/gitlab-workhorse/Makefile head/www/go-appengine-sdk/Makefile head/www/gobuffalo/Makefile head/www/grafana2/Makefile head/www/grafana3/Makefile head/www/grafana4/Makefile head/www/grafana5/Makefile head/www/grafana6/Makefile head/www/kurly/Makefile head/www/mattermost-server/Makefile head/www/minio/Makefile head/www/minio-client/Makefile head/www/s/Makefile head/www/uchiwa/Makefile head/www/ytdl/Makefile head/x11/aminal/Makefile
Committed. Thanks!
(In reply to Tobias Kortkamp from comment #6) Thank you for the commit!