;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
(define-public autogen
(package
(name "autogen")
- (version "5.18.10")
+ (version "5.18.16")
(source
(origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/autogen/rel" version
- "/autogen-" version ".tar.xz"))
- (sha256
- (base32
- "0j61mf3qab5ya7w5xsp7xalrby00cv92g462bxffl104ql18w92f"))))
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/autogen/rel" version
+ "/autogen-" version ".tar.xz"))
+ (sha256
+ (base32 "16mlbdys8q4ckxlvxyhwkdnh1ay9f6g0cyp1kylkpalgnik398gq"))))
(build-system gnu-build-system)
- (native-inputs `(("perl" ,perl) ;for doc generator mdoc
- ("pkg-config" ,pkg-config)))
- (inputs `(("which" ,which)
- ("guile" ,guile-2.0)))
+ (native-inputs `(("pkg-config" ,pkg-config)
+ ("which" ,which)))
+ (inputs `(("guile" ,guile-2.2)
+ ("perl" ,perl))) ; for doc generator mdoc
(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")
+
+ ;; XXX: Parallel tests may cause an indefinite hang with GNU Make 4.3.
+ #:parallel-tests? #f
+
+ #:phases
(modify-phases %standard-phases
(add-before 'patch-source-shebangs 'patch-test-scripts
(lambda _
(let ((sh (which "sh")))
(substitute*
- (append (find-files "agen5/test" "\\.test$")
- (find-files "autoopts/test" "\\.(test|in)$"))
- (("/bin/sh") sh)
- (("/usr/bin/tr") "tr"))))))))
- (home-page "http://www.gnu.org/software/autogen/")
+ (append (find-files "agen5/test" "\\.test$")
+ (find-files "autoopts/test" "\\.(test|in)$"))
+ (("/bin/sh") sh))
+ #t))))))
+ (home-page "https://www.gnu.org/software/autogen/")
(synopsis "Automated program generator")
(description
"AutoGen is a program to ease the maintenance of programs that contain