gnu: libssh2: MIPS workaround no longer is.

* gnu/packages/ssh.scm (libssh2)[arguments]: Override the 'bootstrap' phase
regardless of target system.  Remove 'autoreconf' phase.
This commit is contained in:
Marius Bakke 2018-08-20 23:13:00 +02:00
parent 7b0faf32e9
commit e2c7b7bb68
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 17 deletions

View File

@ -117,23 +117,10 @@ remote applications.")
(propagated-inputs `(("libgcrypt" ,libgcrypt)
("zlib" ,zlib)))
(arguments `(#:configure-flags `("--with-libgcrypt")
#:phases
;; FIXME: In the next core-updates cycle, replace the entire
;; following ,(...) form with its first 'modify-phases'
;; subform. The change made here is only strictly needed on
;; MIPS, but should work on any system. For now, we apply it
;; only to MIPS to avoid forcing thousands of rebuilds on
;; other systems.
,(if (string-prefix? "mips" (or (%current-target-system)
(%current-system)))
'(modify-phases %standard-phases
(replace 'bootstrap
(lambda _
(invoke "autoreconf" "-v"))))
'(modify-phases %standard-phases
(add-before 'configure 'autoreconf
(lambda _
(invoke "autoreconf" "-v")))))))
#:phases (modify-phases %standard-phases
(replace 'bootstrap
(lambda _
(invoke "autoreconf" "-v"))))))
(native-inputs `(("autoconf" ,autoconf)
("automake" ,automake)))
(synopsis "Client-side C library implementing the SSH2 protocol")