aboutsummaryrefslogtreecommitdiff
path: root/sysutils/restic
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-07-17 19:19:16 +0000
committerSteve Wills <swills@FreeBSD.org>2019-07-17 19:19:16 +0000
commit8e72dbf4e4d0af5b2db4507954903b09760f69a1 (patch)
tree591e057360c3ec875f32c13bcb421a62744d451d /sysutils/restic
parent6d65cb5fcc1dd54dc8d3deb81d3a8348e167d211 (diff)
downloadports-8e72dbf4e4d0af5b2db4507954903b09760f69a1.tar.gz
ports-8e72dbf4e4d0af5b2db4507954903b09760f69a1.zip
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)
Notes
Notes: svn path=/head/; revision=506820
Diffstat (limited to 'sysutils/restic')
-rw-r--r--sysutils/restic/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/restic/Makefile b/sysutils/restic/Makefile
index da9859492a00..e0d35a8da3a8 100644
--- a/sysutils/restic/Makefile
+++ b/sysutils/restic/Makefile
@@ -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}