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
URL:
Keywords:
Depends on:
Blocks:
 
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+


Attachments
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 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 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

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