commit:     c78b9de8b1ddc158726693813bf1de6b52f405a1
Author:     Bob Dröge <b.e.droge <AT> rug <DOT> nl>
AuthorDate: Thu Nov 25 13:48:36 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=c78b9de8

sys-cluster/lmod: fix tests on prefix

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

 sys-cluster/lmod/lmod-8.5.6.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/lmod/lmod-8.5.6.ebuild 
b/sys-cluster/lmod/lmod-8.5.6.ebuild
index e41fae2778a4..a833cb1dde24 100644
--- a/sys-cluster/lmod/lmod-8.5.6.ebuild
+++ b/sys-cluster/lmod/lmod-8.5.6.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 LUA_COMPAT=( lua5-{1..3} )
-inherit autotools lua-single
+inherit autotools lua-single prefix
 
 DESCRIPTION="Environment Module System based on Lua"
 HOMEPAGE="https://lmod.readthedocs.io/en/latest https://github.com/TACC/Lmod";
@@ -61,6 +61,7 @@ src_prepare() {
        default
        rm -r pkgs/{luafilesystem,term} || die
        rm -r rt/{ck_mtree_syntax,colorize,end2end,help,ifur,settarg} || die
+       hprefixify -w '/#\!\/bin\/tcsh/' rt/csh_swap/csh_swap.tdesc || die
        eautoreconf
 }
 

Reply via email to