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.
This commit is contained in:
parent
69142dbea4
commit
fb6f94864d
|
@ -470,6 +470,13 @@ (define-public openssl-1.1
|
|||
#$(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 @@ (define-public openssl-3.0
|
|||
(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 (system-hurd?)
|
||||
#~(append #$flags '("hurd-x86")) ;must not be used when
|
||||
|
|
Loading…
Reference in a new issue