commit: 5fe28b3e44b8b264413decae969e24a5aa811c1a Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sun Mar 23 22:19:40 2025 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat Mar 29 15:57:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe28b3e
gnome-base/librsvg: Use cargo_env to ensure proper RUSTFLAGS are applied This almost removes the need to set cross_compiling=yes but unfortunately, this is still needed for the build to determine the right target directory. Closes: https://bugs.gentoo.org/951740 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> gnome-base/librsvg/librsvg-2.58.5.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnome-base/librsvg/librsvg-2.58.5.ebuild b/gnome-base/librsvg/librsvg-2.58.5.ebuild index b0fe043cf4ff..133b5d4ce436 100644 --- a/gnome-base/librsvg/librsvg-2.58.5.ebuild +++ b/gnome-base/librsvg/librsvg-2.58.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -393,7 +393,11 @@ src_compile() { } multilib_src_compile() { - gnome2_src_compile + cargo_env gnome2_src_compile +} + +multilib_src_test() { + cargo_env default } src_test() { @@ -405,7 +409,7 @@ src_install() { } multilib_src_install() { - gnome2_src_install + cargo_env gnome2_src_install } multilib_src_install_all() {
