commit: 5b8f27f19e24d19c418a5be21d77f92b2b549157 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Sun Aug 11 20:33:28 2024 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Mon Aug 12 08:52:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8f27f1
net-misc/zerotier: use target specific dir for cargo Closes: https://bugs.gentoo.org/937782 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> net-misc/zerotier/zerotier-1.14.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) 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 }
