svn commit: r506820 - head/sysutils/restic

Steve Wills swills at FreeBSD.org
Wed Jul 17 19:19:17 UTC 2019


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 at syrec.org>
  Approved by:	gregf at 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}
 


More information about the svn-ports-all mailing list