git: 661c4c760599 - main - sysutils/ipfs-go: Fix build

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Tue, 05 Apr 2022 04:23:55 UTC
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=661c4c760599326c8ca273a1cfe945d553d1249a

commit 661c4c760599326c8ca273a1cfe945d553d1249a
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2022-04-05 04:23:42 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-04-05 04:23:42 +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)
---
 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