commit:     80bcdf272f0a8586fe99c3774a76ca3246167be4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 16:43:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 16:43:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80bcdf27

toolchain.eclass: fix zstd RDEPEND for USE=zstd on gcc

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3bd4b84f494a..bc692443065a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -254,7 +254,8 @@ if tc_has_feature systemtap ; then
 fi
 
 if tc_has_feature zstd ; then
-       DEPEND+=" zstd? ( app-arch/zstd )"
+       DEPEND+=" zstd? ( app-arch/zstd:= )"
+       RDEPEND+=" zstd? ( app-arch/zstd:= )"
 fi
 
 if tc_has_feature valgrind; then

Reply via email to