Bug 239863 - net/clash: Switch to USES=go:modules, fix build with go1.13
Summary: net/clash: 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-14 19:02 UTC by Dmitri Goutnik
Modified: 2019-08-15 18:32 UTC (History)
1 user (show)

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


Attachments
patch file (12.62 KB, patch)
2019-08-14 19:02 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (yuri)
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-14 19:02:08 UTC
Created attachment 206551 [details]
patch file

===>  Building for clash-0.15.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 Yuri Victorovich freebsd_committer 2019-08-15 18:32:11 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2019-08-15 18:32:26 UTC
A commit references this bug:

Author: yuri
Date: Thu Aug 15 18:32:00 UTC 2019
New revision: 509041
URL: https://svnweb.freebsd.org/changeset/ports/509041

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

  PR:		239863
  Submitted by:	Dmitri Goutnik <dg@syrec.org>

Changes:
  head/net/clash/Makefile
  head/net/clash/distinfo