mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: openssl: Fix indentation.
* gnu/packages/tls.scm (openssl): Fix indentation of package definition.
This commit is contained in:
parent
2496b92e6c
commit
d4dbcb81bc
1 changed files with 26 additions and 26 deletions
|
@ -334,27 +334,27 @@ (define-public openssl
|
|||
#:disallowed-references ,(list (canonical-package perl))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
,@(if (%current-target-system)
|
||||
'((add-before
|
||||
'configure 'set-cross-compile
|
||||
(lambda* (#:key target outputs #:allow-other-keys)
|
||||
(setenv "CROSS_COMPILE" (string-append target "-"))
|
||||
(setenv "CONFIGURE_TARGET_ARCH"
|
||||
(cond
|
||||
((string-prefix? "i586" target)
|
||||
"hurd-x86")
|
||||
((string-prefix? "i686" target)
|
||||
"linux-x86")
|
||||
((string-prefix? "x86_64" target)
|
||||
"linux-x86_64")
|
||||
((string-prefix? "mips64el" target)
|
||||
"linux-mips64")
|
||||
((string-prefix? "arm" target)
|
||||
"linux-armv4")
|
||||
((string-prefix? "aarch64" target)
|
||||
"linux-aarch64")))
|
||||
#t)))
|
||||
'())
|
||||
,@(if (%current-target-system)
|
||||
'((add-before
|
||||
'configure 'set-cross-compile
|
||||
(lambda* (#:key target outputs #:allow-other-keys)
|
||||
(setenv "CROSS_COMPILE" (string-append target "-"))
|
||||
(setenv "CONFIGURE_TARGET_ARCH"
|
||||
(cond
|
||||
((string-prefix? "i586" target)
|
||||
"hurd-x86")
|
||||
((string-prefix? "i686" target)
|
||||
"linux-x86")
|
||||
((string-prefix? "x86_64" target)
|
||||
"linux-x86_64")
|
||||
((string-prefix? "mips64el" target)
|
||||
"linux-mips64")
|
||||
((string-prefix? "arm" target)
|
||||
"linux-armv4")
|
||||
((string-prefix? "aarch64" target)
|
||||
"linux-aarch64")))
|
||||
#t)))
|
||||
'())
|
||||
(replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
@ -365,8 +365,8 @@ (define-public openssl
|
|||
(string-append (assoc-ref %build-inputs "coreutils")
|
||||
"/bin/env")))
|
||||
(invoke ,@(if (%current-target-system)
|
||||
'("./Configure")
|
||||
'("./config"))
|
||||
'("./Configure")
|
||||
'("./config"))
|
||||
"shared" ;build shared libraries
|
||||
"--libdir=lib"
|
||||
|
||||
|
@ -378,9 +378,9 @@ (define-public openssl
|
|||
|
||||
(string-append "--prefix=" out)
|
||||
(string-append "-Wl,-rpath," lib)
|
||||
,@(if (%current-target-system)
|
||||
'((getenv "CONFIGURE_TARGET_ARCH"))
|
||||
'())))))
|
||||
,@(if (%current-target-system)
|
||||
'((getenv "CONFIGURE_TARGET_ARCH"))
|
||||
'())))))
|
||||
(add-after 'install 'move-static-libraries
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Move static libraries to the "static" output.
|
||||
|
|
Loading…
Reference in a new issue