commit:     f766b3d9eb3018d6aca531c5a64ba97bd35fc947
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Sat Feb  4 11:27:13 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 11:27:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f766b3d9

sys-devel/just: run tc-export CC

Should make QA happy

Closes: https://bugs.gentoo.org/892563
Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 sys-devel/just/just-1.12.0.ebuild | 12 ++++++++----
 sys-devel/just/just-1.13.0.ebuild | 12 ++++++++----
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/sys-devel/just/just-1.12.0.ebuild 
b/sys-devel/just/just-1.12.0.ebuild
index f3bf66624..89cf59ab7 100644
--- a/sys-devel/just/just-1.12.0.ebuild
+++ b/sys-devel/just/just-1.12.0.ebuild
@@ -116,7 +116,7 @@ CRATES="
        ${P}
 "
 
-inherit bash-completion-r1 cargo
+inherit bash-completion-r1 cargo toolchain-funcs
 
 DESCRIPTION="Just a command runner (with syntax inspired by 'make')"
 HOMEPAGE="
@@ -134,10 +134,14 @@ RESTRICT="mirror"
 QA_FLAGS_IGNORED="usr/bin/just"
 
 src_test() {
-        # $USER must be set or tests fail Bug #890889
-        export USER=portage
+       # $USER must be set or tests fail Bug #890889
+       export USER=portage
+       default
+}
 
-        default
+src_prepare() {
+       default
+       tc-export CC
 }
 
 src_install() {

diff --git a/sys-devel/just/just-1.13.0.ebuild 
b/sys-devel/just/just-1.13.0.ebuild
index 89e32e906..ebcc0d139 100644
--- a/sys-devel/just/just-1.13.0.ebuild
+++ b/sys-devel/just/just-1.13.0.ebuild
@@ -116,7 +116,7 @@ CRATES="
        ${P}
 "
 
-inherit bash-completion-r1 cargo
+inherit bash-completion-r1 cargo toolchain-funcs
 
 DESCRIPTION="Just a command runner (with syntax inspired by 'make')"
 HOMEPAGE="
@@ -134,10 +134,14 @@ RESTRICT="mirror"
 QA_FLAGS_IGNORED="usr/bin/just"
 
 src_test() {
-        # $USER must be set or tests fail Bug #890889
-        export USER=portage
+       # $USER must be set or tests fail Bug #890889
+       export USER=portage
+       default
+}
 
-        default
+src_prepare() {
+       default
+       tc-export CC
 }
 
 src_install() {

Reply via email to