Bug 240287

Summary: www/miniflux: Switch to USES=go:modules, fix build with go1.13
Product: Ports & Packages Reporter: Dmitri Goutnik <dmgk>
Component: Individual Port(s)Assignee: Kirill Ponomarev <krion>
Status: Closed FIXED    
Severity: Affects Only Me CC: krion
Priority: --- Flags: bugzilla: maintainer-feedback? (krion)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch file dmgk: maintainer-approval? (krion)

Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-09-02 18:03:37 UTC
Created attachment 207117 [details]
patch file

===>  Building for miniflux-2.0.17
go: github.com/PuerkitoBio/goquery@v1.5.0: Get https://proxy.golang.org/github.com/%21puerkito%21bio/goquery/@v/v1.5.0.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:33611->209.222.18.218:53: write: permission denied
*** Error code 1

- Switch to USES=go:modules, this also fixes the build with go1.13
- Remove custom do-install

QA:
  poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2019-09-02 18:18:57 UTC
I would rather wait with this change and wait when go13 is declared a stable version.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-09-04 12:54:53 UTC
A commit references this bug:

Author: krion
Date: Wed Sep  4 12:53:53 UTC 2019
New revision: 511092
URL: https://svnweb.freebsd.org/changeset/ports/511092

Log:
  Fix build with go13.

  PR:		240287
  Submitted by:	dg_at_syrec.org

Changes:
  head/www/miniflux/Makefile