summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-09 07:54:06 +0000
committerSam James <sam@gentoo.org>2024-11-09 07:54:06 +0000
commit253724e382fb52eae53f841d7b959faf7a3d7e65 (patch)
tree0011643b061536847a5644005730f2e61c2d8a17 /net-misc
parentdev-vcs/mercurial: only call rust_pkg_setup w/ USE=rust (diff)
downloadgentoo-253724e382fb52eae53f841d7b959faf7a3d7e65.tar.gz
gentoo-253724e382fb52eae53f841d7b959faf7a3d7e65.tar.bz2
gentoo-253724e382fb52eae53f841d7b959faf7a3d7e65.zip
net-misc/zerotier: only call rust_pkg_setup w/ USE=sso
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/zerotier/zerotier-1.14.1-r1.ebuild4
-rw-r--r--net-misc/zerotier/zerotier-1.14.2-r1.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/net-misc/zerotier/zerotier-1.14.1-r1.ebuild b/net-misc/zerotier/zerotier-1.14.1-r1.ebuild
index ce8818618cac..1c081a6c3a93 100644
--- a/net-misc/zerotier/zerotier-1.14.1-r1.ebuild
+++ b/net-misc/zerotier/zerotier-1.14.1-r1.ebuild
@@ -419,6 +419,10 @@ PATCHES=(
DOCS=( README.md AUTHORS.md )
+pkg_setup() {
+ use sso && rust_pkg_setup
+}
+
src_unpack() {
unpack ${P}.tar.gz
use sso && cargo_src_unpack
diff --git a/net-misc/zerotier/zerotier-1.14.2-r1.ebuild b/net-misc/zerotier/zerotier-1.14.2-r1.ebuild
index 8125b3a115da..607e8d3b2bb6 100644
--- a/net-misc/zerotier/zerotier-1.14.2-r1.ebuild
+++ b/net-misc/zerotier/zerotier-1.14.2-r1.ebuild
@@ -420,6 +420,10 @@ PATCHES=(
DOCS=( README.md AUTHORS.md )
+pkg_setup() {
+ use sso && rust_pkg_setup
+}
+
src_unpack() {
unpack ${P}.tar.gz
use sso && cargo_src_unpack