mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
25cad45639
commit
97a759769d
1 changed files with 6 additions and 0 deletions
|
@ -417,6 +417,12 @@ (define-public guile-gnutls
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-more-shebangs
|
(add-after 'unpack 'patch-more-shebangs
|
||||||
(lambda _
|
(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
|
(for-each patch-shebang
|
||||||
'("autopull.sh" "autogen.sh"))))
|
'("autopull.sh" "autogen.sh"))))
|
||||||
(replace 'bootstrap
|
(replace 'bootstrap
|
||||||
|
|
Loading…
Reference in a new issue