git: 8691a46b4456 - 2022Q2 - www/grafana8: Fix runtime issue.

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 12:49:19 UTC
The branch 2022Q2 has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8691a46b4456391c3df6566f8ecd1208201f5e8f

commit 8691a46b4456391c3df6566f8ecd1208201f5e8f
Author:     Boris Korzun <drtr0jan@yandex.ru>
AuthorDate: 2022-04-20 15:15:24 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-04-22 11:47:20 +0000

    www/grafana8: Fix runtime issue.
    
    grafana8 8.3.6 doesn't work with go 1.18. Switch to go 1.17
    
    PR:             263251
    (cherry picked from commit 84e9e60267fa5b19ab022b8c8b750513b678a84d)
---
 www/grafana8/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/grafana8/Makefile b/www/grafana8/Makefile
index 7b90bc14ce83..c774d69304ea 100644
--- a/www/grafana8/Makefile
+++ b/www/grafana8/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	grafana
 DISTVERSIONPREFIX=	v
 DISTVERSION=	8.3.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	https://dl.grafana.com/oss/release/:public
 PKGNAMESUFFIX=	${DISTVERSION:C/([0-9]).*/\1/1}
@@ -25,6 +25,7 @@ USE_GITHUB=	yes
 USE_RC_SUBR=	grafana
 TAG=		bf8766b
 
+GO_PORT=	lang/go117
 GO_TARGET=	./pkg/cmd/grafana-server \
 		./pkg/cmd/grafana-cli
 GO_BUILDFLAGS=	-ldflags="-w -X main.version=${PORTVERSION} -X main.commit=${TAG}"