From 2c473cc94ce9db4342c1fd72085f0debde3bfe2f Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 29 Aug 2025 10:52:19 +0200 Subject: [PATCH] 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 --- dev-libs/gnulib/gnulib-2025.08.27.16.03.17.ebuild | 8 ++++++-- dev-libs/gnulib/gnulib-9999-r1.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/dev-libs/gnulib/gnulib-2025.08.27.16.03.17.ebuild b/dev-libs/gnulib/gnulib-2025.08.27.16.03.17.ebuild index 2e465acb7d0dc..e7f744aeb1c79 100644 --- a/dev-libs/gnulib/gnulib-2025.08.27.16.03.17.ebuild +++ b/dev-libs/gnulib/gnulib-2025.08.27.16.03.17.ebuild @@ -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 } diff --git a/dev-libs/gnulib/gnulib-9999-r1.ebuild b/dev-libs/gnulib/gnulib-9999-r1.ebuild index 10bc9a526f5a2..595807bd9e71f 100644 --- a/dev-libs/gnulib/gnulib-9999-r1.ebuild +++ b/dev-libs/gnulib/gnulib-9999-r1.ebuild @@ -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 }