Date: Sat, 14 Sep 2024 13:52:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281491] Uses/go.mk: uses downloaded toolchain Message-ID: <bug-281491-7788-A43TFIILtJ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-281491-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-281491-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281491 --- Comment #1 from Denis Shaposhnikov <dsh@bamus.cz> --- I use this in my overlay https://github.com/dsh2dsh/freebsd-ports/blob/1dff138dcc344673d4d2443c40d08= d9784d22f48/Mk/Uses/go.mk#L3 # If a port USES specific go version and DEFAULT_VERSIONS specifies higher # version, use it, instead of lower go version from USES. Example: # # DEFAULT_VERSIONS+=3D go=3D1.22 # USES=3D go:1.21 # # In this example a port builded with lang/go122 instead of lang/go121, bec= ause # DEFAULT_VERSIONS specifies higher version of go. GO_VERSION=3D ${go_ARGS:M[1-9].*:U${GO_DEFAULT}} . if ${GO_VERSION:N*-devel} && ${GO_VERSION} < ${GO_DEFAULT} go_ARGS:=3D ${go_ARGS:S/${GO_VERSION}/${GO_DEFAULT}/1} . endif May be this change will help. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281491-7788-A43TFIILtJ>