summary refs log tree commit diff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-16 11:01:08 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-19 20:12:15 -0400
commite1c48cb6bf237aaf1ffa89e166dfaca00dcca02f (patch)
tree7696179a7534c51aadc09998ea5641e434aabdb0 /gnu/packages/networking.scm
parentad0b0b2c41d6e5d099448d9511fffa78d2e82dd3 (diff)
downloadguix-e1c48cb6bf237aaf1ffa89e166dfaca00dcca02f.tar.gz
gnu: opendht: Fix build.
* gnu/packages/networking.scm (opendht) [arguments]: Add delete-autogen phase.
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm5
1 files changed, 5 insertions, 0 deletions
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"))