dev-libs/gnulib: adapt gnulib-tool for later versions

install the .sh version so we don't have to go through the dynamic
selector code

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2025-08-29 10:52:19 +02:00
parent 4965e4b768
commit 2c473cc94c
2 changed files with 12 additions and 4 deletions

View File

@@ -36,8 +36,12 @@ src_install() {
# install the real script
exeinto /usr/share/${PN}
doexe gnulib-tool
doexe gnulib-tool.sh
# we cannot use the .py impl because it python-exec badly interacts,
# so we drop it, and force the .sh version; it's not that it matters
# a whole lot, since this is supposed to be run occasionally
# create and install the wrapper
dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
dosym ../share/${PN}/gnulib-tool.sh /usr/bin/gnulib-tool
}

View File

@@ -34,8 +34,12 @@ src_install() {
# install the real script
exeinto /usr/share/${PN}
doexe gnulib-tool
doexe gnulib-tool.sh
# we cannot use the .py impl because it python-exec badly interacts,
# so we drop it, and force the .sh version; it's not that it matters
# a whole lot, since this is supposed to be run occasionally
# create and install the wrapper
dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
dosym ../share/${PN}/gnulib-tool.sh /usr/bin/gnulib-tool
}