misc/dive: Switch to USES=go:modules, fix build with go1.13

PR:		240074
Reported by:	Dmitri Goutnik <dg@syrec.org>
This commit is contained in:
Yuri Victorovich 2019-08-24 16:03:18 +00:00
parent abb9759d6d
commit 61c1213cc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509728

View file

@ -11,7 +11,7 @@ COMMENT= Tool for exploring each layer in a docker image
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= wagoodman
GH_TUPLE= \
@ -60,8 +60,6 @@ GH_TUPLE= \
spf13:viper:v1.2.1:spf13_viper/vendor/github.com/spf13/viper \
wagoodman:keybinding:6a824da6df05:wagoodman_keybinding/vendor/github.com/wagoodman/keybinding
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
post-patch: