Bug 240172

Summary: sysutils/node_exporter: Switch to USES=go:modules, fix build with go1.13
Product: Ports & Packages Reporter: Dmitri Goutnik <dmgk>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports, yuri
Priority: --- Flags: bugzilla: maintainer-feedback? (ports)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch file dmgk: maintainer-approval? (ports)

Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-08-28 13:59:51 UTC
Created attachment 206978 [details]
patch file

===>  Building for node_exporter-0.18.1
go: github.com/beevik/ntp@v0.2.0: Get https://proxy.golang.org/github.com/beevik/ntp/@v/v0.2.0.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:36278->209.222.18.218:53: write: permission denied
*** Error code 1

- Switch to USES=go:modules, this also fixes the build with upcoming go1.13
- Remove redundant GO_TARGET
- Remove do-install target (already provided by go.mk)

QA:
  poudriere testport: OK (120a-go1.12.9, 120a-go-devel)
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-08-29 03:42:34 UTC
A commit references this bug:

Author: yuri
Date: Thu Aug 29 03:42:29 UTC 2019
New revision: 510135
URL: https://svnweb.freebsd.org/changeset/ports/510135

Log:
  sysutils/node_exporter: Switch to USES=go:modules, fix build with go1.13

  PR:		240172
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	portmgr (fix build)

Changes:
  head/sysutils/node_exporter/Makefile
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2019-08-29 03:42:42 UTC
Committed, thanks!