Bug 239879 - net/rclone: Switch to USES=go:modules, fix build with go1.13
Summary: net/rclone: 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: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-15 14:36 UTC by Dmitri Goutnik
Modified: 2019-08-22 17:10 UTC (History)
1 user (show)

See Also:
wg: maintainer-feedback+


Attachments
patch file (697 bytes, patch)
2019-08-15 14:36 UTC, Dmitri Goutnik
dg: maintainer-approval? (wg)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik 2019-08-15 14:36:29 UTC
Created attachment 206579 [details]
patch file

===>  Building for rclone-1.48.0
$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 William Grzybowski freebsd_committer 2019-08-22 17:10:20 UTC
Committed, thanks
Comment 2 commit-hook freebsd_committer 2019-08-22 17:10:52 UTC
A commit references this bug:

Author: wg
Date: Thu Aug 22 17:10:07 UTC 2019
New revision: 509616
URL: https://svnweb.freebsd.org/changeset/ports/509616

Log:
  net/rclone: USES go:modules and fix build with go1.13

  PR:		239879
  Submitted by:	Dmitri Goutnik

Changes:
  head/net/rclone/Makefile