guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 05/08: gnu: guile-gnutls: Do not expect gnulib shebangs to work.
Date: Fri, 17 Mar 2023 18:25:20 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 97a759769d9dc93a5f5745d2aa4ae324a4ef1b3d
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Tue Mar 14 11:33:20 2023 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]