Diff lmod-8.7.23 with a lmod-8.7.55
| /usr/portage/sys-cluster/lmod/lmod-8.7.55.ebuild 2025-02-03 17:39:35.934678008 +0300 | ||
|---|---|---|
| 33 | 33 |
dev-lua/luaposix[${LUA_USEDEP}]
|
| 34 | 34 |
dev-lua/lua-term[${LUA_USEDEP}]
|
| 35 | 35 |
') |
| 36 |
virtual/pkgconfig |
|
| 37 | 36 |
" |
| 38 |
DEPEND="${RDEPEND}"
|
|
| 39 | 37 |
BDEPEND="${RDEPEND}
|
| 40 | 38 |
app-alternatives/bc |
| 41 | 39 |
test? ( |
| ... | ... | |
| 44 | 42 |
') |
| 45 | 43 |
app-shells/tcsh |
| 46 | 44 |
) |
| 45 |
virtual/pkgconfig |
|
| 47 | 46 |
" |
| 48 | 47 | |
| 49 |
PATCHES=( "${FILESDIR}"/${PN}-8.4.19-no-libsandbox.patch )
|
|
| 48 |
PATCHES=( |
|
| 49 |
"${FILESDIR}"/${PN}-8.4.19-no-libsandbox.patch
|
|
| 50 |
"${FILESDIR}"/${P}-fix-bashism-in-configure-script.patch
|
|
| 51 |
) |
|
| 50 | 52 | |
| 51 | 53 |
pkg_pretend() {
|
| 52 | 54 |
elog "You can control the siteName and syshost settings by" |
| ... | ... | |
| 112 | 114 |
} |
| 113 | 115 | |
| 114 | 116 |
src_install() {
|
| 115 |
dosym ../../../usr/share/Lmod/init/profile /etc/bash/bashrc.d/z00_lmod.sh |
|
| 116 |
dosym ../../usr/share/Lmod/init/profile /etc/profile.d/z00_lmod.sh |
|
| 117 |
dosym ../../usr/share/Lmod/init/cshrc /etc/profile.d/z00_lmod.csh |
|
| 118 |
dosym ../../../usr/share/Lmod/init/profile.fish /etc/fish/conf.d/z00_lmod.fish |
|
| 117 |
dosym -r /usr/share/Lmod/init/profile /etc/bash/bashrc.d/z00_lmod.sh |
|
| 118 |
dosym -r /usr/share/Lmod/init/profile /etc/profile.d/z00_lmod.sh |
|
| 119 |
dosym -r /usr/share/Lmod/init/cshrc /etc/profile.d/z00_lmod.csh |
|
| 120 |
dosym -r /usr/share/Lmod/init/profile.fish /etc/fish/conf.d/z00_lmod.fish |
|
| 119 | 121 |
default |
| 120 | 122 |
newman "${FILESDIR}"/module.1-8.4.20 module.1
|
| 121 | 123 |
# not a real man page |
| ... | ... | |
| 123 | 125 |
doenvd "${FILESDIR}"/99lmod
|
| 124 | 126 |
keepdir /etc/modulefiles |
| 125 | 127 |
keepdir /etc/lmod_cache |
| 126 | ||
| 127 | 128 |
} |
| 128 | 129 | |
| 129 | 130 |
pkg_postinst() {
|