freebsd-ports/www/chromium/files/patch-build_gn__run__binary.py
Joseph Mingrone a0dbfe2fb0 www/chromium: Update to version 87.0.4280.66
Submitted by:	Matthias Wolf, cem, rene
Obtained from:	Some patches from OpenBSD port (robert@openbsd.org)
2020-12-01 04:06:37 +00:00

12 lines
456 B
Python

--- build/gn_run_binary.py.orig 2020-11-13 06:36:34 UTC
+++ build/gn_run_binary.py
@@ -24,7 +24,7 @@ if not os.path.isabs(path):
# The rest of the arguments are passed directly to the executable.
args = [path] + sys.argv[2:]
-ret = subprocess.call(args)
+ret = subprocess.call(args, env={"CHROME_EXE_PATH":"${WRKSRC}/out/Release/chrome"})
if ret != 0:
if ret <= -100:
# Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to