diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2023-03-14 11:33:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-03-17 23:20:35 +0100 |
commit | 97a759769d9dc93a5f5745d2aa4ae324a4ef1b3d (patch) | |
tree | 0e07675c55591de762d753173793427eee252662 | |
parent | 25cad456397b120f59b1779960f67423cdc00635 (diff) | |
download | guix-97a759769d9dc93a5f5745d2aa4ae324a4ef1b3d.tar.gz guix-97a759769d9dc93a5f5745d2aa4ae324a4ef1b3d.zip |
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>
-rw-r--r-- | gnu/packages/tls.scm | 6 |
1 files changed, 6 insertions, 0 deletions
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 |