diff options
Diffstat (limited to 'devel/electron5/files/patch-build_gn__run__binary.py')
-rw-r--r-- | devel/electron5/files/patch-build_gn__run__binary.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron5/files/patch-build_gn__run__binary.py b/devel/electron5/files/patch-build_gn__run__binary.py new file mode 100644 index 000000000000..33adc4264c39 --- /dev/null +++ b/devel/electron5/files/patch-build_gn__run__binary.py @@ -0,0 +1,11 @@ +--- build/gn_run_binary.py.orig 2019-04-08 08:18:04 UTC ++++ build/gn_run_binary.py +@@ -22,7 +22,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 |