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))
|
#:disallowed-references ,(list (canonical-package perl))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
,@(if (%current-target-system)
|
,@(if (%current-target-system)
|
||||||
'((add-before
|
'((add-before
|
||||||
'configure 'set-cross-compile
|
'configure 'set-cross-compile
|
||||||
(lambda* (#:key target outputs #:allow-other-keys)
|
(lambda* (#:key target outputs #:allow-other-keys)
|
||||||
(setenv "CROSS_COMPILE" (string-append target "-"))
|
(setenv "CROSS_COMPILE" (string-append target "-"))
|
||||||
(setenv "CONFIGURE_TARGET_ARCH"
|
(setenv "CONFIGURE_TARGET_ARCH"
|
||||||
(cond
|
(cond
|
||||||
((string-prefix? "i586" target)
|
((string-prefix? "i586" target)
|
||||||
"hurd-x86")
|
"hurd-x86")
|
||||||
((string-prefix? "i686" target)
|
((string-prefix? "i686" target)
|
||||||
"linux-x86")
|
"linux-x86")
|
||||||
((string-prefix? "x86_64" target)
|
((string-prefix? "x86_64" target)
|
||||||
"linux-x86_64")
|
"linux-x86_64")
|
||||||
((string-prefix? "mips64el" target)
|
((string-prefix? "mips64el" target)
|
||||||
"linux-mips64")
|
"linux-mips64")
|
||||||
((string-prefix? "arm" target)
|
((string-prefix? "arm" target)
|
||||||
"linux-armv4")
|
"linux-armv4")
|
||||||
((string-prefix? "aarch64" target)
|
((string-prefix? "aarch64" target)
|
||||||
"linux-aarch64")))
|
"linux-aarch64")))
|
||||||
#t)))
|
#t)))
|
||||||
'())
|
'())
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
@ -365,8 +365,8 @@ (define-public openssl
|
||||||
(string-append (assoc-ref %build-inputs "coreutils")
|
(string-append (assoc-ref %build-inputs "coreutils")
|
||||||
"/bin/env")))
|
"/bin/env")))
|
||||||
(invoke ,@(if (%current-target-system)
|
(invoke ,@(if (%current-target-system)
|
||||||
'("./Configure")
|
'("./Configure")
|
||||||
'("./config"))
|
'("./config"))
|
||||||
"shared" ;build shared libraries
|
"shared" ;build shared libraries
|
||||||
"--libdir=lib"
|
"--libdir=lib"
|
||||||
|
|
||||||
|
@ -378,9 +378,9 @@ (define-public openssl
|
||||||
|
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
(string-append "-Wl,-rpath," lib)
|
(string-append "-Wl,-rpath," lib)
|
||||||
,@(if (%current-target-system)
|
,@(if (%current-target-system)
|
||||||
'((getenv "CONFIGURE_TARGET_ARCH"))
|
'((getenv "CONFIGURE_TARGET_ARCH"))
|
||||||
'())))))
|
'())))))
|
||||||
(add-after 'install 'move-static-libraries
|
(add-after 'install 'move-static-libraries
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Move static libraries to the "static" output.
|
;; Move static libraries to the "static" output.
|
||||||
|
|
Loading…
Reference in a new issue