diff --git a/dev-zig/zls/zls-0.14.0.ebuild b/dev-zig/zls/zls-0.14.0.ebuild index f8651590d4..179e69e765 100644 --- a/dev-zig/zls/zls-0.14.0.ebuild +++ b/dev-zig/zls/zls-0.14.0.ebuild @@ -17,10 +17,6 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/zigtools/zls" inherit git-r3 - src_unpack() { - git-r3_src_unpack - zig_live_fetch -Denable-tracy=false - } else # Should be the "minimum_build_zig_version" from upstream's "build.zig". ZIG_SLOT="$(ver_cut 1-2)" # works only for releases, but that's okay @@ -47,6 +43,13 @@ RDEPEND=" DOCS=( README.md ) +if [[ ${PV} == 9999 ]]; then + src_unpack() { + git-r3_src_unpack + zig_live_fetch -Denable-tracy=false + } +fi + src_configure() { local my_zbs_args=( -Dpie=true diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild index 865faed72d..713d0b9f87 100644 --- a/dev-zig/zls/zls-9999.ebuild +++ b/dev-zig/zls/zls-9999.ebuild @@ -11,10 +11,6 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/zigtools/zls" inherit git-r3 - src_unpack() { - git-r3_src_unpack - zig_live_fetch -Denable-tracy=false - } else # Should be the "minimum_build_zig_version" from upstream's "build.zig". ZIG_SLOT="$(ver_cut 1-2)" # works only for releases, but that's okay @@ -41,6 +37,13 @@ RDEPEND=" DOCS=( README.md ) +if [[ ${PV} == 9999 ]]; then + src_unpack() { + git-r3_src_unpack + zig_live_fetch -Denable-tracy=false + } +fi + src_configure() { local my_zbs_args=( -Dpie=true