1 |
commit: e90abf4be37ca322749be5f0f088f6c07ee20b82 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 11 08:06:42 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 11 08:06:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90abf4b |
7 |
|
8 |
app-shells/autojump: fix patching for Prefix |
9 |
|
10 |
Closes: https://bugs.gentoo.org/665270 |
11 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
13 |
|
14 |
app-shells/autojump/autojump-22.5.3.ebuild | 7 ++++--- |
15 |
1 file changed, 4 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild |
18 |
index fe3883cf63e..71bd16bed2f 100644 |
19 |
--- a/app-shells/autojump/autojump-22.5.3.ebuild |
20 |
+++ b/app-shells/autojump/autojump-22.5.3.ebuild |
21 |
@@ -5,7 +5,7 @@ EAPI=6 |
22 |
|
23 |
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) |
24 |
|
25 |
-inherit bash-completion-r1 python-r1 vcs-snapshot |
26 |
+inherit bash-completion-r1 python-r1 vcs-snapshot prefix |
27 |
|
28 |
DESCRIPTION="change directory command that learns" |
29 |
HOMEPAGE="https://github.com/wting/autojump" |
30 |
@@ -24,13 +24,14 @@ DEPEND="${PYTHON_DEPS}" |
31 |
|
32 |
src_prepare() { |
33 |
eapply_user |
34 |
- sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ |
35 |
- -e "s:/usr/local/share:/usr/share:" \ |
36 |
+ sed -e "s:/usr/local/share:/usr/share:" \ |
37 |
-i bin/autojump.sh || die |
38 |
|
39 |
# autojump_argparse is only there for Python 2.6 compatibility |
40 |
sed -e "s:autojump_argparse:argparse:" \ |
41 |
-i bin/autojump || die |
42 |
+ |
43 |
+ hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh |
44 |
} |
45 |
|
46 |
src_compile() { |