git: 4f81540c8f0a - 2022Q2 - sysutils/ipfs-go: Fix build

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 07:37:14 UTC
The branch 2022Q2 has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f81540c8f0aff60e83abdb4ed4615f26f72a56f

commit 4f81540c8f0aff60e83abdb4ed4615f26f72a56f
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2022-04-05 04:23:42 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-04-22 07:37:11 +0000

    sysutils/ipfs-go: Fix build
    
    ipfs-go has a dependency "quic-go" which does not support go 1.18 yet.
    Use go 1.17 for now.
    
    PR:             263050
    Reported by:    jmg
    Approved by:    portmgr (implicit, build fix)
    
    (cherry picked from commit 661c4c760599326c8ca273a1cfe945d553d1249a)
---
 sysutils/ipfs-go/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysutils/ipfs-go/Makefile b/sysutils/ipfs-go/Makefile
index 8c727cd1bf0c..6d5b4af462cf 100644
--- a/sysutils/ipfs-go/Makefile
+++ b/sysutils/ipfs-go/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	ipfs
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.11.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/ipfs/go-ipfs/releases/download/v${DISTVERSION}/
 PKGNAMESUFFIX=	-go
@@ -20,6 +20,7 @@ USES=		cpe go:modules
 CPE_VENDOR=	protocol
 
 GO_TARGET=	./cmd/ipfs:ipfs-go
+GO_PORT=	lang/go117 # quic-go does not build on Go 1.18 yet
 
 NO_WRKSUBDIR=	yes