commit: 979aefd065f43431bae94226cd7205a5e5d43028
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 08:26:51 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 08:26:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979aefd0
dev-util/hermes: add missing lfs dep
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/hermes/hermes-2.8_p20180315.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-util/hermes/hermes-2.8_p20180315.ebuild
b/dev-util/hermes/hermes-2.8_p20180315.ebuild
index 5d33acdefad..1f67ffbecd8 100644
--- a/dev-util/hermes/hermes-2.8_p20180315.ebuild
+++ b/dev-util/hermes/hermes-2.8_p20180315.ebuild
@@ -22,20 +22,23 @@ LICENSE="MIT"
SLOT="0"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
+
RESTRICT="!test? ( test )"
RDEPEND="${LUA_DEPS}
$(lua_gen_cond_dep '
+ dev-lua/luafilesystem[${LUA_USEDEP}]
dev-lua/luaposix[${LUA_USEDEP}]
')
"
+DEPEND="test? ( ${RDEPEND} )"
PATCHES=( "${FILESDIR}"/${PN}-2.8-lua-shebang.patch )
src_compile() {
sed -e "s|@LUA@|${LUA}|g" \
- -i lib/tool.lua \
- -i bin/lua_cmd || die
+ -i lib/tool.lua \
+ -i bin/lua_cmd || die
}
src_test() {