Bug 240072

Summary: www/gitea: 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: stb, yuri
Priority: --- Flags: bugzilla: maintainer-feedback? (stb)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch file dmgk: maintainer-approval? (stb)

Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-08-24 13:06:29 UTC
Created attachment 206848 [details]
patch file

===>  Building for gitea-1.9.2
go: github.com/BurntSushi/toml@v0.3.1: Get https://proxy.golang.org/github.com/%21burnt%21sushi/to
ml/@v/v0.3.1.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:1603
2->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
- Use GO_BUILDFLAGS for build flags

QA:
  poudriere testport: OK (120a-go1.12.9, 120a-go-devel)
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-08-29 03:29:51 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-29 03:30:06 UTC
A commit references this bug:

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

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

  PR:		240072
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	portmgr (fix build)

Changes:
  head/www/gitea/Makefile