me
/
guix
Archived
1
0
Fork 0

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>
master
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
1 changed files with 6 additions and 0 deletions

View File

@ -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