commit:     25dc0e214245fa10f3f89b8d91631bd535dc018c
Author:     Bob Dröge <b.e.droge <AT> rug <DOT> nl>
AuthorDate: Thu Nov 25 13:17:06 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 14:02:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25dc0e21

dev-util/hermes: fix bug 827152

Closes: https://bugs.gentoo.org/827152
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/hermes/hermes-2.8_p20180315.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-util/hermes/hermes-2.8_p20180315.ebuild 
b/dev-util/hermes/hermes-2.8_p20180315.ebuild
index edf0e4e3916b..c3d8021ebf2f 100644
--- a/dev-util/hermes/hermes-2.8_p20180315.ebuild
+++ b/dev-util/hermes/hermes-2.8_p20180315.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 LUA_COMPAT=( lua5-{1..3} )
-inherit lua-single
+inherit lua-single prefix
 
 DESCRIPTION="Lua based testing manager"
 HOMEPAGE="https://github.com/TACC/Hermes";
@@ -35,6 +35,11 @@ DEPEND="test? ( ${RDEPEND} )"
 
 PATCHES=( "${FILESDIR}"/${PN}-2.8-lua-shebang.patch )
 
+src_prepare() {
+       default
+       hprefixify -w '/#\!\/bin\/bash/' tm/Tst.lua || die
+}
+
 src_compile() {
        sed -e "s|@LUA@|${LUA}|g" \
                -i lib/tool.lua \

Reply via email to