Bug 240072 - www/gitea: Switch to USES=go:modules, fix build with go1.13
Summary: www/gitea: 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:06 UTC by Dmitri Goutnik
Modified: 2019-08-29 03:30 UTC (History)
2 users (show)

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

patch file (480 bytes, patch)
2019-08-24 13:06 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (stb)
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: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 write udp
2-> 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

  poudriere testport: OK (120a-go1.12.9, 120a-go-devel)
Comment 1 Yuri Victorovich freebsd_committer 2019-08-29 03:29:51 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 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

  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)