Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/
Date: Mon, 22 Oct 2018 12:02:04
Message-Id: 1540209697.c0f6cb600653da5a86d417fd562d3afc9b18c78e.grobian@gentoo
1 commit: c0f6cb600653da5a86d417fd562d3afc9b18c78e
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 22 12:01:37 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 22 12:01:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f6cb60
7
8 dev-vcs/mercurial: fix double prefix
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 dev-vcs/mercurial/mercurial-4.7.2.ebuild | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-vcs/mercurial/mercurial-4.7.2.ebuild b/dev-vcs/mercurial/mercurial-4.7.2.ebuild
17 index 2b7e1bbf0e2..60e5ed59b65 100644
18 --- a/dev-vcs/mercurial/mercurial-4.7.2.ebuild
19 +++ b/dev-vcs/mercurial/mercurial-4.7.2.ebuild
20 @@ -93,7 +93,8 @@ python_install_all() {
21 doins "${FILESDIR}/cacerts.rc"
22
23 # symlink to system zstd
24 - dosym ../zstd.so $(python_get_sitedir)/${PN}/zstd.so
25 + local sitedir=$(python_get_sitedir)
26 + dosym ../zstd.so "${sitedir#${EPREFIX}}"/${PN}/zstd.so
27 }
28
29 src_test() {