summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-08-11 23:33:28 +0300
committerYixun Lan <dlan@gentoo.org>2024-08-12 08:52:58 +0000
commit5b8f27f19e24d19c418a5be21d77f92b2b549157 (patch)
tree41e529c7693f1ec7622dd54b68ca97072b6ea9f2 /net-misc/zerotier
parentdev-ruby/railties: depend on the correct eselect-rails version (diff)
downloadgentoo-5b8f27f19e24d19c418a5be21d77f92b2b549157.tar.gz
gentoo-5b8f27f19e24d19c418a5be21d77f92b2b549157.tar.bz2
gentoo-5b8f27f19e24d19c418a5be21d77f92b2b549157.zip
net-misc/zerotier: use target specific dir for cargo
Closes: https://bugs.gentoo.org/937782 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-misc/zerotier')
-rw-r--r--net-misc/zerotier/zerotier-1.14.0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-misc/zerotier/zerotier-1.14.0.ebuild b/net-misc/zerotier/zerotier-1.14.0.ebuild
index 8a00c6b94532..933ff2176ec9 100644
--- a/net-misc/zerotier/zerotier-1.14.0.ebuild
+++ b/net-misc/zerotier/zerotier-1.14.0.ebuild
@@ -413,9 +413,11 @@ src_prepare() {
#1. Dont call cargo, we'll run it with cargo eclass functions
#2. Remove man page compression and install, we'll handle it with ebuild functions
+ #3. Gentoo generates target specific build dirs now bug #937782
sed -i \
-e '/ifeq ($(ZT_SSO_SUPPORTED)/,/endif/ { /cargo build/d }' \
-e '/install:/,/^$/ { /man[0-9]/d }' \
+ -e "s|rustybits/target/$(usex debug debug release)|rustybits/$(cargo_target_dir)|" \
make-linux.mk || die
}