From cc60e0d15d79916a69c8a1caeb3c4611351bb6c4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 1 Mar 2026 23:54:40 +0900 Subject: internal/rosa/make: migrate to helper interface This also updates all affected artifacts to use new behaviour. Signed-off-by: Ophestra --- internal/rosa/pkg-config.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'internal/rosa/pkg-config.go') diff --git a/internal/rosa/pkg-config.go b/internal/rosa/pkg-config.go index c5c0814a..32eb1363 100644 --- a/internal/rosa/pkg-config.go +++ b/internal/rosa/pkg-config.go @@ -7,13 +7,12 @@ func (t Toolchain) newPkgConfig() pkg.Artifact { version = "0.29.2" checksum = "gi7yAvkwo20Inys1tHbeYZ3Wjdm5VPkrnO0Q6_QZPCAwa1zrA8F4a63cdZDd-717" ) - return t.NewViaMake("pkg-config", version, pkg.NewHTTPGetTar( - nil, - "https://pkgconfig.freedesktop.org/releases/"+ + return t.NewPackage("pkg-config", version, pkg.NewHTTPGetTar( + nil, "https://pkgconfig.freedesktop.org/releases/"+ "pkg-config-"+version+".tar.gz", mustDecode(checksum), pkg.TarGzip, - ), &MakeAttr{ + ), nil, &MakeHelper{ Configure: [][2]string{ {"CFLAGS", "'-Wno-int-conversion'"}, {"with-internal-glib"}, -- cgit v1.3.1