gnu: cunit: Replace bootstrap phase.

* gnu/packages/check.scm (cunit)[arguments]: Replace bootstrap phase.
This commit is contained in:
Ricardo Wurmus 2018-03-15 12:09:21 +01:00
parent 2b4e556850
commit 7aa37aa033
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 4 deletions

View File

@ -24,7 +24,7 @@
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 ng0 <ng0@infotropique.org> ;;; Copyright © 2017 ng0 <ng0@infotropique.org>
;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com> ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
@ -104,9 +104,11 @@ source code editors and IDEs.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments '(#:phases (arguments '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'autoconf ;; XXX: The "bootstrap" phase detects the "bootstrap"
(lambda _ ;; script, but fails to execute it, so we bootstrap
(zero? (system* "autoreconf" "-vfi"))))))) ;; manually.
(replace 'bootstrap
(lambda _ (invoke "autoreconf" "-vfi"))))))
(native-inputs (native-inputs
`(("automake" ,automake) `(("automake" ,automake)
("autoconf" ,autoconf) ("autoconf" ,autoconf)