commit:     490b75dbee0872283a01d8e8f9d32c04e381ba7c
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 21:51:10 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:27:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490b75db

dev-vcs/mercurial: Use new cargo_target_dir helper

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-vcs/mercurial/mercurial-6.5.3.ebuild | 2 +-
 dev-vcs/mercurial/mercurial-6.6.2.ebuild | 2 +-
 dev-vcs/mercurial/mercurial-6.7.4.ebuild | 2 +-
 dev-vcs/mercurial/mercurial-9999.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-vcs/mercurial/mercurial-6.5.3.ebuild 
b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
index 69931dc438d2..ab3945e86821 100644
--- a/dev-vcs/mercurial/mercurial-6.5.3.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
@@ -281,7 +281,7 @@ python_install_all() {
                RM_CONTRIB+=( chg )
        fi
        if use rust; then
-               dobin rust/target/release/rhg
+               dobin "rust/$(cargo_target_dir)/rhg"
        fi
 
        for f in ${RM_CONTRIB[@]}; do

diff --git a/dev-vcs/mercurial/mercurial-6.6.2.ebuild 
b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
index c5b2c982def7..6e0daef5f51e 100644
--- a/dev-vcs/mercurial/mercurial-6.6.2.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
@@ -291,7 +291,7 @@ python_install_all() {
                RM_CONTRIB+=( chg )
        fi
        if use rust; then
-               dobin rust/target/release/rhg
+               dobin "rust/$(cargo_target_dir)/rhg"
        fi
 
        for f in ${RM_CONTRIB[@]}; do

diff --git a/dev-vcs/mercurial/mercurial-6.7.4.ebuild 
b/dev-vcs/mercurial/mercurial-6.7.4.ebuild
index 1991a7cdef9b..90e4f7551850 100644
--- a/dev-vcs/mercurial/mercurial-6.7.4.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.7.4.ebuild
@@ -302,7 +302,7 @@ python_install_all() {
                RM_CONTRIB+=( chg )
        fi
        if use rust; then
-               dobin rust/target/release/rhg
+               dobin "rust/$(cargo_target_dir)/rhg"
        fi
 
        for f in ${RM_CONTRIB[@]}; do

diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild 
b/dev-vcs/mercurial/mercurial-9999.ebuild
index 6b16f427545a..d271835b7698 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -130,7 +130,7 @@ python_install_all() {
                RM_CONTRIB+=( chg )
        fi
        if use rust; then
-               dobin rust/target/release/rhg
+               dobin "rust/$(cargo_target_dir)/rhg"
        fi
 
        for f in ${RM_CONTRIB[@]}; do

Reply via email to