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)
This commit is contained in:
parent
6d65cb5fcc
commit
8e72dbf4e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506820
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user