Bug 239865

Summary: net-mgmt/blackbox_exporter: Switch to USES=go:modules, fix build with go1.13
Product: Ports & Packages Reporter: Dmitri Goutnik <dmgk>
Component: Individual Port(s)Assignee: Boris Samorodov <bsam>
Status: Closed FIXED    
Severity: Affects Only Me CC: bsam
Priority: --- Flags: bsam: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
patch file dmgk: maintainer-approval? (bsam)

Description Dmitri Goutnik freebsd_committer 2019-08-14 19:41:00 UTC
Created attachment 206554 [details]
patch file

===>  Building for blackbox_exporter-0.13.0
go: github.com/alecthomas/assert@v0.0.0-20170929043011-405dbfeb8e38: Get https://proxy.golang.org/github.com/ale
cthomas/assert/@v/v0.0.0-20170929043011-405dbfeb8e38.mod: dial tcp: lookup proxy.golang.org on write
 udp> write: permission denied
*** Error code 1

- Switch to USES=go:modules, this also fixes the build with go1.13
- Remove GO_TARGET, not needed after r507340
- Remove custom do-install target

  poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
Comment 1 commit-hook freebsd_committer 2019-08-14 20:02:55 UTC
A commit references this bug:

Author: bsam
Date: Wed Aug 14 20:02:08 UTC 2019
New revision: 508966
URL: https://svnweb.freebsd.org/changeset/ports/508966

  net-mgmt/blackbox_exporter: Switch to USES=go:modules, fix build with go1.13

  PR:		239865
  Submitted by: Dmitri Goutnik <dg@syrec.org>

Comment 2 Boris Samorodov freebsd_committer 2019-08-14 20:04:31 UTC
Committed, thanks!