Bug 240074 - misc/dive: Switch to USES=go:modules, fix build with go1.13
Summary: misc/dive: Switch to USES=go:modules, fix build with go1.13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
Depends on:
Reported: 2019-08-24 13:45 UTC by Dmitri Goutnik
Modified: 2019-08-24 16:03 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+

patch file (603 bytes, patch)
2019-08-24 13:45 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>