pkgsrc-WIP-changes archive

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

electron44: fix build



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Wed Nov 4 12:14:51 2026 +0100
Changeset:	9458fde00ed9a8d026fdb70d3aad0f282f244d9c

Modified Files:
	electron44/Makefile

Log Message:
electron44: fix build

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

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

diffstat:
 electron44/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diffs:
diff --git a/electron44/Makefile b/electron44/Makefile
index 57c0c6e54c..a8e327504b 100644
--- a/electron44/Makefile
+++ b/electron44/Makefile
@@ -145,6 +145,16 @@ SUBST_FILES.path+=	v8/tools/run-paxctl.py
 SUBST_VARS.path+=	PREFIX PKG_SYSCONFBASE VARBASE QTDIR X11BASE PYTHONBIN
 SUBST_VARS.path+=	WRKSRC SH
 
+# go (third_party/dawn)
+.include "../../lang/go/version.mk"
+TOOL_DEPENDS+=		${GO_PACKAGE_DEP}
+MAKE_ENV+=		GOCACHE=${WRKDIR}/.cache/go-build
+SUBST_CLASSES+=		go
+SUBST_STAGE.go=		pre-configure
+SUBST_MESSAGE.go=	Set path of go executable
+SUBST_FILES.go+=	third_party/dawn/tools/generate-sources-gn.py
+SUBST_SED.go+=		-e 's,@GOBIN@,${GO},g'
+
 .include "options.mk"
 
 BUILDTYPE=	Release


Home | Main Index | Thread Index | Old Index