From 97a759769d9dc93a5f5745d2aa4ae324a4ef1b3d Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Tue, 14 Mar 2023 11:33:20 +0100 Subject: [PATCH] gnu: guile-gnutls: Do not expect gnulib shebangs to work. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tls.scm (guile-gnutls) [phase patch-more-shebangs]: Fix how autogen.sh invokes gnulib-tool, and how configure.ac invokes git-version-gen, so as not to rely on shebangs. Signed-off-by: Ludovic Courtès --- gnu/packages/tls.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 81d90c86ae..5a44fa89dc 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -417,6 +417,12 @@ required structures.") #~(modify-phases %standard-phases (add-after 'unpack 'patch-more-shebangs (lambda _ + (substitute* "autogen.sh" + (("\\$gnulib_tool \\$gnulib_tool_options") + "sh $gnulib_tool $gnulib_tool_options")) + (substitute* "configure.ac" + (("build-aux/git-version-gen") + "sh build-aux/git-version-gen")) (for-each patch-shebang '("autopull.sh" "autogen.sh")))) (replace 'bootstrap