summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-19 17:43:32 +0100
committerSam James <sam@gentoo.org>2022-04-19 17:43:57 +0100
commit80bcdf272f0a8586fe99c3774a76ca3246167be4 (patch)
tree87c2129362f65c05a61bbcbc010daa25aea613c9 /eclass/toolchain.eclass
parentdev-python/xarray: Stabilize 2022.3.0 ppc64, #839486 (diff)
downloadgentoo-80bcdf272f0a8586fe99c3774a76ca3246167be4.tar.gz
gentoo-80bcdf272f0a8586fe99c3774a76ca3246167be4.tar.bz2
gentoo-80bcdf272f0a8586fe99c3774a76ca3246167be4.zip
toolchain.eclass: fix zstd RDEPEND for USE=zstd on gcc
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass3
1 files changed, 2 insertions, 1 deletions
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