diff options
| author | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-15 05:34:37 +0000 |
|---|---|---|
| committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-15 05:37:04 +0000 |
| commit | 1939382c88ed3a84d1872643ca958ff41ac214a0 (patch) | |
| tree | f5f78291bd08acb55f0d2437c386d26f9b49edd5 | |
| parent | 2139ed0ce2c5178bc4223be5b0a29ef4fb75d656 (diff) | |
| download | ports-1939382c88ed3a84d1872643ca958ff41ac214a0.tar.gz ports-1939382c88ed3a84d1872643ca958ff41ac214a0.zip | |
devel/electron12: fix build with DIST option enabled
PR: 258997
Reported by: Wes Morgan <morganw@gmail.com>
| -rw-r--r-- | devel/electron12/files/patch-electron_BUILD.gn | 11 |
1 files changed, 10 insertions, 1 deletions
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" ] |
