Bug 240074

Summary: misc/dive: 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: yuri
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
patch file dmgk: maintainer-approval? (yuri)

Description Dmitri Goutnik freebsd_committer 2019-08-24 13:45:17 UTC
Created attachment 206850 [details]
patch file

===>  Building for dive-0.7.2
go: github.com/Azure/go-ansiterm@v0.0.0-20170929234023-d6e3b3328b78: Get https://proxy.golang.org/
github.com/%21azure/go-ansiterm/@v/v0.0.0-20170929234023-d6e3b3328b78.mod: dial tcp: lookup proxy.
golang.org on write udp> write: permission d
*** Error code 1

- Switch to USES=go:modules, this also fixes the build with upcoming go1.13
- Remove GO_PKGNAME, not needed with modules

  poudriere testport: OK (120a-go1.12.9, 120a-go-devel)
Comment 1 Yuri Victorovich freebsd_committer 2019-08-24 16:03:23 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2019-08-24 16:03:53 UTC
A commit references this bug:

Author: yuri
Date: Sat Aug 24 16:03:19 UTC 2019
New revision: 509728
URL: https://svnweb.freebsd.org/changeset/ports/509728

  misc/dive: Switch to USES=go:modules, fix build with go1.13

  PR:		240074
  Reported by:	Dmitri Goutnik <dg@syrec.org>