From 093b89fd1d6441ca699f9fefb5656fa0cf7a6acb Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 8 Nov 2026 02:38:45 +0000 Subject: [PATCH] dev-lang/rust: fix install w/ USE=-rustc-dev Fixes: e04d3d37e05d3fc5260bbff7263a3c470b48e07e Signed-off-by: Sam James --- dev-lang/rust/rust-1.97.1.ebuild | 6 ++++-- dev-lang/rust/rust-1.98.1.ebuild | 6 ++++-- dev-lang/rust/rust-1.99.0.ebuild | 6 ++++-- dev-lang/rust/rust-9999.ebuild | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/dev-lang/rust/rust-1.97.1.ebuild b/dev-lang/rust/rust-1.97.1.ebuild index 485b782996bff..1ba1aa016ca5c 100644 --- a/dev-lang/rust/rust-1.97.1.ebuild +++ b/dev-lang/rust/rust-1.97.1.ebuild @@ -953,8 +953,10 @@ src_install() { # Not required for general use, installs rustc-dev component (i.e. internal rlibs) # needed to link to compiler internals for (e.g.) crubit - use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ - --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + if use rustc-dev ; then + DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ + --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + fi docompress /usr/lib/${PN}/${SLOT}/share/man/ diff --git a/dev-lang/rust/rust-1.98.1.ebuild b/dev-lang/rust/rust-1.98.1.ebuild index 0fcbbdb4a2c83..affc9ef84f4e4 100644 --- a/dev-lang/rust/rust-1.98.1.ebuild +++ b/dev-lang/rust/rust-1.98.1.ebuild @@ -954,8 +954,10 @@ src_install() { # Not required for general use, installs rustc-dev component (i.e. internal rlibs) # needed to link to compiler internals for (e.g.) crubit - use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ - --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + if use rustc-dev ; then + DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ + --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + fi docompress /usr/lib/${PN}/${SLOT}/share/man/ diff --git a/dev-lang/rust/rust-1.99.0.ebuild b/dev-lang/rust/rust-1.99.0.ebuild index 32b0eaaa3b555..f01330b4573b3 100644 --- a/dev-lang/rust/rust-1.99.0.ebuild +++ b/dev-lang/rust/rust-1.99.0.ebuild @@ -953,8 +953,10 @@ src_install() { # Not required for general use, installs rustc-dev component (i.e. internal rlibs) # needed to link to compiler internals for (e.g.) crubit - use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ - --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + if use rustc-dev ; then + DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ + --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + fi docompress /usr/lib/${PN}/${SLOT}/share/man/ diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild index 1c3d1bfe45d7b..115e0eceba997 100644 --- a/dev-lang/rust/rust-9999.ebuild +++ b/dev-lang/rust/rust-9999.ebuild @@ -953,8 +953,10 @@ src_install() { # Not required for general use, installs rustc-dev component (i.e. internal rlibs) # needed to link to compiler internals for (e.g.) crubit - use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ - --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + if use rustc-dev ; then + DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \ + --config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die + fi docompress /usr/lib/${PN}/${SLOT}/share/man/