gnu: autogen: Update to 5.18.16.

* gnu/packages/autogen.scm (autogen): Update to 5.18.16.
[inputs]: Update to guile-2.2.
[arguments]: Add ‘--disable-dependency-tracking’ to #:configure-flags.
Re-indent.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-24 17:18:31 +01:00
parent fcab568dea
commit 1584b9d680
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 16 additions and 12 deletions

View File

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2013, 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -32,29 +32,33 @@
(define-public autogen (define-public autogen
(package (package
(name "autogen") (name "autogen")
(version "5.18.14") (version "5.18.16")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/autogen/rel" version (uri (string-append "mirror://gnu/autogen/rel" version
"/autogen-" version ".tar.xz")) "/autogen-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32 "16mlbdys8q4ckxlvxyhwkdnh1ay9f6g0cyp1kylkpalgnik398gq"))))
"1r06gam7sicb9ssn02mhv6r0g5vr4k0l0c67shpqa5i172cspizz"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs `(("pkg-config" ,pkg-config)
("which" ,which))) ("which" ,which)))
(inputs `(("guile" ,guile-2.0) (inputs `(("guile" ,guile-2.2)
("perl" ,perl))) ; for doc generator mdoc ("perl" ,perl))) ; for doc generator mdoc
(arguments (arguments
'(#:phases '(#:configure-flags
;; XXX Needed to build 5.18.16. ./configure fails without it:
;; “Something went wrong bootstrapping makefile fragments for
;; automatic dependency tracking. Try re-running configure with […]”
(list "--disable-dependency-tracking")
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'patch-source-shebangs 'patch-test-scripts (add-before 'patch-source-shebangs 'patch-test-scripts
(lambda _ (lambda _
(let ((sh (which "sh"))) (let ((sh (which "sh")))
(substitute* (substitute*
(append (find-files "agen5/test" "\\.test$") (append (find-files "agen5/test" "\\.test$")
(find-files "autoopts/test" "\\.(test|in)$")) (find-files "autoopts/test" "\\.(test|in)$"))
(("/bin/sh") sh)) (("/bin/sh") sh))
#t)))))) #t))))))
(home-page "https://www.gnu.org/software/autogen/") (home-page "https://www.gnu.org/software/autogen/")