1 |
commit: 25dc0e214245fa10f3f89b8d91631bd535dc018c |
2 |
Author: Bob Dröge <b.e.droge <AT> rug <DOT> nl> |
3 |
AuthorDate: Thu Nov 25 13:17:06 2021 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 25 14:02:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25dc0e21 |
7 |
|
8 |
dev-util/hermes: fix bug 827152 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/827152 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
13 |
|
14 |
dev-util/hermes/hermes-2.8_p20180315.ebuild | 7 ++++++- |
15 |
1 file changed, 6 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-util/hermes/hermes-2.8_p20180315.ebuild b/dev-util/hermes/hermes-2.8_p20180315.ebuild |
18 |
index edf0e4e3916b..c3d8021ebf2f 100644 |
19 |
--- a/dev-util/hermes/hermes-2.8_p20180315.ebuild |
20 |
+++ b/dev-util/hermes/hermes-2.8_p20180315.ebuild |
21 |
@@ -4,7 +4,7 @@ |
22 |
EAPI=7 |
23 |
|
24 |
LUA_COMPAT=( lua5-{1..3} ) |
25 |
-inherit lua-single |
26 |
+inherit lua-single prefix |
27 |
|
28 |
DESCRIPTION="Lua based testing manager" |
29 |
HOMEPAGE="https://github.com/TACC/Hermes" |
30 |
@@ -35,6 +35,11 @@ DEPEND="test? ( ${RDEPEND} )" |
31 |
|
32 |
PATCHES=( "${FILESDIR}"/${PN}-2.8-lua-shebang.patch ) |
33 |
|
34 |
+src_prepare() { |
35 |
+ default |
36 |
+ hprefixify -w '/#\!\/bin\/bash/' tm/Tst.lua || die |
37 |
+} |
38 |
+ |
39 |
src_compile() { |
40 |
sed -e "s|@LUA@|${LUA}|g" \ |
41 |
-i lib/tool.lua \ |