commit: dca844ed582e369708a7769d4e84abf6e9b5fb0d Author: Georgy Yakovlev <ya <AT> sysdump <DOT> net> AuthorDate: Tue Jan 30 04:54:54 2018 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Wed Jan 31 09:56:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dca844ed
dev-lang/rust: fix MAKEOPTS -l/--load-average build Upstream build system does not like -l/--load-average, So we cannot use MAKEOPTS as-is. The only relevant option is -j<num>. This commit changes to using multiprocessing.eclass makeopts_jobs() Closes: https://bugs.gentoo.org/646092 Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7000 dev-lang/rust/rust-1.23.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lang/rust/rust-1.23.0-r1.ebuild b/dev-lang/rust/rust-1.23.0-r1.ebuild index a8057d5b644..59fee5ba417 100644 --- a/dev-lang/rust/rust-1.23.0-r1.ebuild +++ b/dev-lang/rust/rust-1.23.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit python-any-r1 versionator toolchain-funcs +inherit multiprocessing python-any-r1 versionator toolchain-funcs if [[ ${PV} = *beta* ]]; then betaver=${PV//*beta} @@ -119,7 +119,7 @@ src_configure() { } src_compile() { - ./x.py build --verbose --config="${S}"/config.toml "${MAKEOPTS}" || die + ./x.py build --verbose --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_install() {
