Bug 240313 - sysutils/consul: Switch to USES=go:modules, fix build with go1.13
Summary: sysutils/consul: 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: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-03 18:02 UTC by Dmitri Goutnik
Modified: 2019-09-08 12:19 UTC (History)
1 user (show)

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


Attachments
patch file (1.74 KB, patch)
2019-09-03 18:02 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (swills)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-09-03 18:02:40 UTC
Created attachment 207157 [details]
patch file

===>  Building for consul-1.5.1
$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.9, 120a-go-devel)
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-09-08 12:19:33 UTC
A commit references this bug:

Author: tobik
Date: Sun Sep  8 12:18:47 UTC 2019
New revision: 511569
URL: https://svnweb.freebsd.org/changeset/ports/511569

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

  ===>  Building for consul-1.5.1
  $GOPATH/go.mod exists but should not
  *** Error code 1

  - Remove custom build and install targets

  PR:		240313
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Pointy hat:	jlaffaye

Changes:
  head/sysutils/consul/Makefile