Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2019 19:19:16 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506820 - head/sysutils/restic
Message-ID:  <201907171919.x6HJJGo1089417@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Jul 17 19:19:16 2019
New Revision: 506820
URL: https://svnweb.freebsd.org/changeset/ports/506820

Log:
  sysutils/restic: Switch to USES=go:modules, fix build with go1.13beta1
  
  PR:		238929
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	gregf@hugops.pw (maintainer)

Modified:
  head/sysutils/restic/Makefile   (contents, props changed)

Modified: head/sysutils/restic/Makefile
==============================================================================
--- head/sysutils/restic/Makefile	Wed Jul 17 19:17:57 2019	(r506819)
+++ head/sysutils/restic/Makefile	Wed Jul 17 19:19:16 2019	(r506820)
@@ -11,11 +11,10 @@ COMMENT=	Fast, secure, efficient backup program
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go
+USES=		go:modules
 USE_GITHUB=	yes
 
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
-GO_TARGET=	${GO_PKGNAME}/cmd/${PORTNAME}
+GO_TARGET=	./cmd/${PORTNAME}
 
 PLIST_SUB=	PORTNAME=${PORTNAME}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907171919.x6HJJGo1089417>