pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chromium: fix extract phase



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Mon Nov 9 09:13:45 2026 +0100
Changeset:	c0a5cc7ef1cf2fff4cf7f8676525ad41b01b8bb9

Modified Files:
	chromium/Makefile

Log Message:
chromium: fix extract phase

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c0a5cc7ef1cf2fff4cf7f8676525ad41b01b8bb9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 chromium/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diffs:
diff --git a/chromium/Makefile b/chromium/Makefile
index e3e218de35..d9f5445520 100644
--- a/chromium/Makefile
+++ b/chromium/Makefile
@@ -5,11 +5,11 @@ VERSION=			157.0.8103.38
 CATEGORIES=			www
 MASTER_SITES=			https://commondatastorage.googleapis.com/chromium-browser-official/
 #MASTER_SITES=			${MASTER_SITE_GITHUB:=chromium-linux-tarballs/}chromium-tarballs/releases/download/${VERSION}/
-EXTRACT_SUFX_C=			.tar.xz
+EXTRACT_SUFX_C=			-lite.tar.xz
 
 #PROFILE_DISTFILES=		chromium-${VERSION}-profdata${EXTRACT_SUFX_C}
 #SITES.${PROFILE_DISTFILES}=	https://nerd.hu/distfiles/
-DISTFILES+=			${DISTNAME}-lite${EXTRACT_SUFX_C}
+DISTFILES+=			${DISTNAME}${EXTRACT_SUFX_C}
 #DISTFILES+=			${PROFILE_DISTFILES}
 
 # Sources to build on NetBSD
@@ -37,12 +37,13 @@ LLVM_MV=			${LLVM_VERSION:sh:C/\..*//}
 # Used nodejs version
 NODE_VERSIONS_ACCEPTED=		24
 
+# Set own EXTRACT_ONLY before go-module.mk:
+# go-module.mk sets EXTRACT_ONLY?= ${DEFAULT_DISTFILES} ${GO_MODULE_EXTRACT},
+# DEFAULT_DISTFILES uses EXTRACT_SUFX=.tar.gz, which breaks chromium extract.
 EXTRACT_ONLY=			${DISTNAME}-lite${EXTRACT_SUFX_C}
 #EXTRACT_ONLY+=			${PROFILE_DISTFILES}
 EXTRACT_ONLY+=			${_GITHUB_DEFAULT_DISTFILES}
-.for crate in ${CARGO_CRATE_DEPENDS}
-EXTRACT_ONLY+=			${crate}.crate
-.endfor
+EXTRACT_ONLY+=			${CARGO_CRATE_DEPENDS:S/$/.crate/}
 
 MAINTAINER=			kikadf%NetBSD.org@localhost
 HOMEPAGE=			https://www.chromium.org/Home


Home | Main Index | Thread Index | Old Index