gnu: guile-gnutls: Do not expect gnulib shebangs to work.

* 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 <ludo@gnu.org>
This commit is contained in:
Vivien Kraus 2023-03-14 11:33:20 +01:00 committed by Ludovic Courtès
parent 25cad45639
commit 97a759769d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -417,6 +417,12 @@ (define-public guile-gnutls
#~(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