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)
This commit is contained in:
Guangyuan Yang 2022-04-05 00:23:42 -04:00
parent 5d3b802e93
commit 661c4c7605

View File

@ -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