guix-commits
[Top][All Lists]
Advanced

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

22/96: gnu: opendht: Fix build.


From: guix-commits
Subject: 22/96: gnu: opendht: Fix build.
Date: Wed, 19 Apr 2023 21:41:07 -0400 (EDT)

apteryx pushed a commit to branch core-updates
in repository guix.

commit e1c48cb6bf237aaf1ffa89e166dfaca00dcca02f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 16 11:01:08 2023 -0400

    gnu: opendht: Fix build.
    
    * gnu/packages/networking.scm (opendht) [arguments]: Add delete-autogen 
phase.
---
 gnu/packages/networking.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 8f4318afba..9fbdba57a3 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3816,6 +3816,11 @@ and targeted primarily for asynchronous processing of 
HTTP-requests.")
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
                 (invoke "tests/opendht_unit_tests"))))
+          (add-before 'bootstrap 'delete-autogen.sh
+            (lambda _
+              ;; The autogen.sh script lacks a shebang, cannot be executed
+              ;; directly.  Let the bootstrap phase invoke autoreconf itself.
+              (delete-file "autogen.sh")))
           (add-after 'install 'move-and-wrap-tools
             (lambda* (#:key inputs outputs #:allow-other-keys)
               (let* ((tools (assoc-ref outputs "tools"))



reply via email to

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