From 9aafb16249b3cf563df30570b7a7c7b71b618ace Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 17 Aug 2024 18:52:49 -0400 Subject: [PATCH] pcp: build with go1.22 Signed-off-by: Rui Chen --- Formula/p/pcp.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/p/pcp.rb b/Formula/p/pcp.rb index db3d8f0b5c00e..2d88368f45672 100644 --- a/Formula/p/pcp.rb +++ b/Formula/p/pcp.rb @@ -21,7 +21,8 @@ class Pcp < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "be128448d96fd7005c9cbda1c1ba2c71e7f7a58468c1c5bb3ec7a1f75c5109c5" end - depends_on "go" => :build + # use "go" again after https://github.com/dennis-tra/pcp/issues/30 is fixed and released + depends_on "go@1.22" => :build def install ldflags = "-X main.RawVersion=#{version} -X main.ShortCommit=#{Utils.git_short_head(length: 7)}"