[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/67: gnu: openssl-1.1: Fix shared build for the Hurd.
From: |
guix-commits |
Subject: |
37/67: gnu: openssl-1.1: Fix shared build for the Hurd. |
Date: |
Tue, 18 Jul 2023 10:16:08 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 92b4318e6dc37e7acd00844c630826c39b5c44e9
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'.
(openssl)[arguments]: And delete it again.
---
gnu/packages/tls.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index e8ed0d61a4..021c125983 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -470,6 +470,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.
@@ -585,7 +592,10 @@ OpenSSL for TARGET."
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(setenv "HASHBANGPERL"
(search-input-file (or native-inputs inputs)
- "/bin/perl"))))))
+ "/bin/perl"))))
+ #$@(if (target-hurd?)
+ #~((delete 'patch-configure))
+ #~())))
((#:configure-flags flags #~'())
(if (target-hurd? (%current-system))
#~(append
- 31/67: gnu: emacs: Depend on libc-for-target., (continued)
- 31/67: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/07/18
- 26/67: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 06/67: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/18
- 53/67: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 44/67: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/18
- 35/67: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/18
- 51/67: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/18
- 42/67: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/18
- 46/67: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/07/18
- 34/67: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/18
- 37/67: gnu: openssl-1.1: Fix shared build for the Hurd.,
guix-commits <=
- 57/67: build: Build gnu/packages/*.go in five steps., guix-commits, 2023/07/18
- 55/67: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/18
- 59/67: gnu: guix: Disable some test on 32bit., guix-commits, 2023/07/18
- 62/67: gnu: guix: Update to 1.4.0-9.dc1edb2ba6., guix-commits, 2023/07/18
- 56/67: gnu: hurd: Support native build on the Hurd., guix-commits, 2023/07/18
- 64/67: DRAFT hurd-boot: Support second boot., guix-commits, 2023/07/18
- 67/67: locale: Set %default-locale-definitions to glibc/hurd on the Hurd., guix-commits, 2023/07/18
- 23/67: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 49/67: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/18
- 58/67: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/18