git: f0bbd38c03c6 - main - devel/electron37: Fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Mar 2026 22:47:03 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f0bbd38c03c69a0eead056966225de4596941c87
commit f0bbd38c03c69a0eead056966225de4596941c87
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-25 22:45:41 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-25 22:47:00 +0000
devel/electron37: Fix build
Approved by: portmgr (unbreak; blanket)
---
devel/electron37/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/electron37/Makefile b/devel/electron37/Makefile
index 61a6734b52b0..baa92be5ccb4 100644
--- a/devel/electron37/Makefile
+++ b/devel/electron37/Makefile
@@ -94,6 +94,10 @@ NPM_EXTRACT_WRKSRC= ${WRKSRC:H}/${PORTNAME}-${ELECTRON_VER}
SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format
+# Unbreak build that is being killed in a poudriere VM with a signal due to OOM.
+# Limit parallel compilation to avoid OOM on large Chromium files (e.g. browser_interface_binders.cc) which can use several GB of RAM per job.
+MAKE_JOBS_NUMBER_LIMIT= 4
+
MAKE_ARGS= -C out/${BUILDTYPE}
MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \
CPLUS_INCLUDE_PATH=${LOCALBASE}/include