Bug 240168 - misc/lf: Switch to USES=go:modules, fix build with go1.13
Summary: misc/lf: 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-28 13:35 UTC by Dmitri Goutnik
Modified: 2019-08-29 03:39 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
patch file (534 bytes, patch)
2019-08-28 13:35 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-28 13:35:59 UTC
Created attachment 206975 [details]
patch file

===>  Building for lf-13
go: github.com/mattn/go-runewidth@v0.0.4: Get https://proxy.golang.org/github.com/mattn/go-runewidth/@v/v0.0.4.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:6184
4->209.222.18.218:53: write: permission denied
*** 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-29 03:39:01 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2019-08-29 03:39:33 UTC
A commit references this bug:

Author: yuri
Date: Thu Aug 29 03:38:48 UTC 2019
New revision: 510134
URL: https://svnweb.freebsd.org/changeset/ports/510134

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

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

Changes:
  head/misc/lf/Makefile