commit:     17283ef6f8f9ef274e34dd3c2fa9814362d4d3ce
Author:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
AuthorDate: Mon May 18 09:11:04 2020 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Mon May 18 09:11:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/rust.git/commit/?id=17283ef6

virtual/rust: multilib support

Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org>

 virtual/rust/rust-1.43.1-r666.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/virtual/rust/rust-1.43.1-r666.ebuild 
b/virtual/rust/rust-1.43.1-r666.ebuild
index a16b9a6..63b7dbb 100644
--- a/virtual/rust/rust-1.43.1-r666.ebuild
+++ b/virtual/rust/rust-1.43.1-r666.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit multilib-build
+
 DESCRIPTION="Virtual for Rust language compiler"
 HOMEPAGE=""
 SRC_URI=""
@@ -12,4 +14,4 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
 BDEPEND=""
-RDEPEND="|| ( =dev-lang/rust-${PVR}* =dev-lang/rust-bin-${PV}* )"
+RDEPEND="|| ( =dev-lang/rust-${PVR}*[${MULTILIB_USEDEP}] 
=dev-lang/rust-bin-${PV}*[${MULTILIB_USEDEP}] )"

Reply via email to