git: 1939382c88ed - main - devel/electron12: fix build with DIST option enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Nov 2021 05:37:15 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1939382c88ed3a84d1872643ca958ff41ac214a0
commit 1939382c88ed3a84d1872643ca958ff41ac214a0
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2021-11-15 05:34:37 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2021-11-15 05:37:04 +0000
devel/electron12: fix build with DIST option enabled
PR: 258997
Reported by: Wes Morgan <morganw@gmail.com>
---
devel/electron12/files/patch-electron_BUILD.gn | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/devel/electron12/files/patch-electron_BUILD.gn b/devel/electron12/files/patch-electron_BUILD.gn
index fba4aedf6ddb..981011e62d45 100644
--- a/devel/electron12/files/patch-electron_BUILD.gn
+++ b/devel/electron12/files/patch-electron_BUILD.gn
@@ -1,4 +1,4 @@
---- electron/BUILD.gn.orig 2021-04-20 23:32:33 UTC
+--- electron/BUILD.gn.orig 2021-10-11 17:12:26 UTC
+++ electron/BUILD.gn
@@ -401,7 +401,7 @@ source_set("electron_lib") {
defines += [ "GDK_DISABLE_DEPRECATION_WARNINGS" ]
@@ -40,3 +40,12 @@
"//content:sandbox_helper_win",
"//electron/buildflags",
"//ui/strings",
+@@ -1323,7 +1329,7 @@ dist_zip("electron_dist_zip") {
+ ":electron_version",
+ ":licenses",
+ ]
+- if (is_linux) {
++ if (is_linux && !is_bsd) {
+ data_deps += [ "//sandbox/linux:chrome_sandbox" ]
+ }
+ outputs = [ "$root_build_dir/dist.zip" ]