summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-05 20:06:31 -0500
committerSam James <sam@gentoo.org>2024-03-06 03:36:21 +0000
commit39e30e6822a8106b66c07b709524a0b8032015c1 (patch)
tree60796944f290d8459cc9ff1b504773843fdc70e2 /net-p2p/arti
parentmedia-gfx/graphviz: make sure elibtoolize is applied (diff)
downloadgentoo-39e30e6822a8106b66c07b709524a0b8032015c1.tar.gz
gentoo-39e30e6822a8106b66c07b709524a0b8032015c1.tar.bz2
gentoo-39e30e6822a8106b66c07b709524a0b8032015c1.zip
net-p2p/arti: add system dependency on zstd
Avoids building a static vendored copy "because rust". Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-p2p/arti')
-rw-r--r--net-p2p/arti/arti-1.1.13-r1.ebuild (renamed from net-p2p/arti/arti-1.1.13.ebuild)2
-rw-r--r--net-p2p/arti/arti-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/net-p2p/arti/arti-1.1.13.ebuild b/net-p2p/arti/arti-1.1.13-r1.ebuild
index 43f5e046efe2..9b9bb14fec65 100644
--- a/net-p2p/arti/arti-1.1.13.ebuild
+++ b/net-p2p/arti/arti-1.1.13-r1.ebuild
@@ -558,6 +558,7 @@ LICENSE+="
SLOT="0"
DEPEND="app-arch/xz-utils
+ app-arch/zstd:=
dev-db/sqlite:3
dev-libs/openssl:="
RDEPEND="${DEPEND}"
@@ -574,6 +575,7 @@ src_unpack() {
}
src_compile() {
+ export ZSTD_SYS_USE_PKG_CONFIG=1
for crate in crates/*; do
pushd "${crate}" || die
cargo_src_compile
diff --git a/net-p2p/arti/arti-9999.ebuild b/net-p2p/arti/arti-9999.ebuild
index 8a5e2a599e77..09c689cf5286 100644
--- a/net-p2p/arti/arti-9999.ebuild
+++ b/net-p2p/arti/arti-9999.ebuild
@@ -31,6 +31,7 @@ LICENSE+="
SLOT="0"
DEPEND="app-arch/xz-utils
+ app-arch/zstd:=
dev-db/sqlite:3
dev-libs/openssl:="
RDEPEND="${DEPEND}"
@@ -47,6 +48,7 @@ src_unpack() {
}
src_compile() {
+ export ZSTD_SYS_USE_PKG_CONFIG=1
for crate in crates/*; do
pushd "${crate}" || die
cargo_src_compile