summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-02-14 10:26:51 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-02-14 10:26:51 +0200
commit979aefd065f43431bae94226cd7205a5e5d43028 (patch)
tree02800888c7d884f1ddec3a9de8a747646d88b74b /dev-util/hermes
parentsys-cluster/lmod: lua based environment modules system (diff)
downloadgentoo-979aefd065f43431bae94226cd7205a5e5d43028.tar.gz
gentoo-979aefd065f43431bae94226cd7205a5e5d43028.tar.bz2
gentoo-979aefd065f43431bae94226cd7205a5e5d43028.zip
dev-util/hermes: add missing lfs dep
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/hermes')
-rw-r--r--dev-util/hermes/hermes-2.8_p20180315.ebuild7
1 files 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 5d33acdefad9..1f67ffbecd8b 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() {