Bug 238930

Summary: databases/pgmetrics: Switch to USES=go:modules, fix build with go1.13beta1
Product: Ports & Packages Reporter: Dmitri Goutnik <dmgk>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: girgen
Priority: --- Flags: tobik: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
patch file dmgk: maintainer-approval? (girgen)

Description Dmitri Goutnik freebsd_committer 2019-07-01 18:08:19 UTC
Created attachment 205473 [details]
patch file

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

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

  poudriere testport: OK (120a-go1.12.6, 120a-go1.13beta1)
Comment 1 commit-hook freebsd_committer 2019-07-26 07:31:07 UTC
A commit references this bug:

Author: tobik
Date: Fri Jul 26 07:30:33 UTC 2019
New revision: 507342
URL: https://svnweb.freebsd.org/changeset/ports/507342

  databases/pgmetrics: Switch to USES=go:modules

  - Remove unneeded targets
  - Drop nop BUILD_AS_NON_ROOT while here
  - Fix build with go1.13beta1

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

  PR:		238930
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	girgen (maintainer timeout, 24 days)