diff options
author | maya <maya@pkgsrc.org> | 2020-04-30 19:08:50 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2020-04-30 19:08:50 +0000 |
commit | 8e3cf9503eb495aa4667fe647a57d952748d963c (patch) | |
tree | f11dd43e0ebc3b1ca6a3c1669403c2f222a62f65 /www/firefox | |
parent | 6bb8b7cf97d6b57957598201eb14a9f50e1f51cd (diff) | |
download | pkgsrc-8e3cf9503eb495aa4667fe647a57d952748d963c.tar.gz |
firefox: help netbsd unattended builds by running cargo with -j1
it defaults to -j(NUMBER OF CPUS) and this triggers an ld.so vs. fork
issue.
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/distinfo | 3 | ||||
-rw-r--r-- | www/firefox/patches/patch-config_makefiles_rust.mk | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 57592078334..0d5222015e3 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.388 2020/04/09 14:01:26 ryoon Exp $ +$NetBSD: distinfo,v 1.389 2020/04/30 19:08:50 maya Exp $ SHA1 (firefox-75.0.source.tar.xz) = df7904c16d525eb791728d655258b7d1fe064db9 RMD160 (firefox-75.0.source.tar.xz) = e75ffcf93adab1198a93b42a6d2f8722be3745ce @@ -9,6 +9,7 @@ SHA1 (patch-browser_app_profile_firefox.js) = 076cc2892547bac07fe907533f4e821f13 SHA1 (patch-browser_components_BrowserGlue.jsm) = dcbf01db8b06db3376f0545ccfbba9dde5790c82 SHA1 (patch-build_moz.configure_rust.configure) = ee9e207e67709f3c9455b4d22f5f254890e99ca8 SHA1 (patch-config_gcc-stl-wrapper.template.h) = 781a063fa6ab345face53fd88404ead11ab335b2 +SHA1 (patch-config_makefiles_rust.mk) = 8637cd3f56774648fd586c7ad8dd49e269b9eb2a SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 SHA1 (patch-dom_media_CubebUtils.cpp) = 226821d961039ae5c9c50d8615757b73c6bcd80a SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 diff --git a/www/firefox/patches/patch-config_makefiles_rust.mk b/www/firefox/patches/patch-config_makefiles_rust.mk new file mode 100644 index 00000000000..2739e3956d7 --- /dev/null +++ b/www/firefox/patches/patch-config_makefiles_rust.mk @@ -0,0 +1,17 @@ +$NetBSD: patch-config_makefiles_rust.mk,v 1.1 2020/04/30 19:08:50 maya Exp $ + +NetBSD doesn't get along with parallel rust builds (it causes issues +with ld.so) which are the default. Force -j1. + +--- config/makefiles/rust.mk.orig 2020-04-03 19:34:34.000000000 +0000 ++++ config/makefiles/rust.mk +@@ -52,6 +52,9 @@ endif + ifeq (1,$(MOZ_PARALLEL_BUILD)) + cargo_build_flags += -j1 + endif ++ifeq ($(OS_ARCH),NetBSD) ++cargo_build_flags += -j1 ++endif + + # These flags are passed via `cargo rustc` and only apply to the final rustc + # invocation (i.e., only the top-level crate, not its dependencies). |