Bug 239884 - www/mattermost-server: Switch to USES=go:modules, fix build with go1.13
Summary: www/mattermost-server: 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-15 15:19 UTC by Dmitri Goutnik
Modified: 2019-08-16 23:58 UTC (History)
2 users (show)

See Also:
loic.blot: maintainer-feedback+


Attachments
patch file (1.90 KB, patch)
2019-08-15 15:19 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (loic.blot)
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-15 15:19:00 UTC
Created attachment 206585 [details]
patch file

===>  Building for mattermost-server-5.13.2
$GOPATH/go.mod exists but should not
*** Error code 1

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

QA:
  poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
Comment 1 loic.blot 2019-08-16 15:55:32 UTC
okay for me, good job
Comment 2 Yuri Victorovich freebsd_committer 2019-08-16 23:57:41 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer 2019-08-16 23:58:28 UTC
A commit references this bug:

Author: yuri
Date: Fri Aug 16 23:57:39 UTC 2019
New revision: 509125
URL: https://svnweb.freebsd.org/changeset/ports/509125

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

  PR:		239884
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	loic.blot@unix-experience.fr (maintainer)

Changes:
  head/www/mattermost-server/Makefile