summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-05 20:46:26 -0500
committerSam James <sam@gentoo.org>2024-03-06 03:36:22 +0000
commit2f1a06ebbb4459b6ccb2aa96dc4646c2d67fb216 (patch)
treeaa98561765cbe4ac0894514300affc55c6202b29 /dev-util/sccache
parentnet-p2p/arti: add system dependency on zstd (diff)
downloadgentoo-2f1a06ebbb4459b6ccb2aa96dc4646c2d67fb216.tar.gz
gentoo-2f1a06ebbb4459b6ccb2aa96dc4646c2d67fb216.tar.bz2
gentoo-2f1a06ebbb4459b6ccb2aa96dc4646c2d67fb216.zip
dev-util/sccache: make the zstd dependency effective
It is needed by the zstd-sys crate, but only if we tell it to use the system copy... Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/sccache')
-rw-r--r--dev-util/sccache/sccache-0.5.4-r1.ebuild (renamed from dev-util/sccache/sccache-0.5.4.ebuild)3
-rw-r--r--dev-util/sccache/sccache-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-util/sccache/sccache-0.5.4.ebuild b/dev-util/sccache/sccache-0.5.4-r1.ebuild
index eb47216271ca..97207cbb5aeb 100644
--- a/dev-util/sccache/sccache-0.5.4.ebuild
+++ b/dev-util/sccache/sccache-0.5.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2017-2023 Gentoo Authors
+# Copyright 2017-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.7
@@ -444,6 +444,7 @@ src_configure() {
# Should be able to drop this once we have a 'gentoo' profile
sed -i 's/strip = true/strip = false/' Cargo.toml || die
+ export ZSTD_SYS_USE_PKG_CONFIG=1
myfeatures=(
native-zlib
$(usev azure)
diff --git a/dev-util/sccache/sccache-9999.ebuild b/dev-util/sccache/sccache-9999.ebuild
index 2a99e5798f56..ebb46ec79d8d 100644
--- a/dev-util/sccache/sccache-9999.ebuild
+++ b/dev-util/sccache/sccache-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2017-2023 Gentoo Authors
+# Copyright 2017-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.7
@@ -65,6 +65,7 @@ src_configure() {
# Should be able to drop this once we have a 'gentoo' profile
sed -i 's/strip = true/strip = false/' Cargo.toml || die
+ export ZSTD_SYS_USE_PKG_CONFIG=1
myfeatures=(
native-zlib
$(usev azure)