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   
Attachments:
Description Flags
patch file dmgk: maintainer-approval? (yuri)

Description Dmitri Goutnik freebsd_committer freebsd_triage 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 209.222.18.218:53: write udp 127.0.0.1:62709->209.222.18.218:53: write: permission d
enied
*** Error code 1

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

QA:
  poudriere testport: OK (120a-go1.12.9, 120a-go-devel)
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-08-24 16:03:23 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 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

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

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

Changes:
  head/misc/dive/Makefile