guix-commits
[Top][All Lists]
Advanced

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

branch wip-hurd updated: gnu: openssl-1.1: Fix shared build for the Hurd


From: guix-commits
Subject: branch wip-hurd updated: gnu: openssl-1.1: Fix shared build for the Hurd.
Date: Sun, 11 Jun 2023 15:04:12 -0400

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch wip-hurd
in repository guix.

The following commit(s) were added to refs/heads/wip-hurd by this push:
     new dcbe4fde23 gnu: openssl-1.1: Fix shared build for the Hurd.
dcbe4fde23 is described below

commit dcbe4fde23eec1c4a7a9fd28eaea947a56975aab
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Jun 11 20:47:14 2023 +0200

    gnu: openssl-1.1: Fix shared build for the Hurd.
    
    * gnu/packages/tls.scm (openssl-1.1)[arguments]: When building for the Hurd,
    add phase 'patch-configure'.
---
 gnu/packages/tls.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index b891329811..0b6fcfe5da 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -471,6 +471,13 @@ OpenSSL for TARGET."
                                 #$(target->openssl-target
                                    (%current-target-system))))))
                  #~())
+          #$@(if (target-hurd?)
+                 #~((add-after 'unpack 'patch-configure
+                      (lambda _
+                        (substitute* "config"
+                          (("case \"\\$GUESSOS\" in.*" all)
+                           (string-append all "hurd-x86*) 
OUT=hurd-x86;;\n"))))))
+                 #~())
           (replace 'configure
             (lambda* (#:key configure-flags #:allow-other-keys)
               ;; It's not a shebang so patch-source-shebangs misses it.



reply via email to

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