From 1584b9d680cf2d48811a5dc68edd872872cbc1a4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 24 Feb 2019 17:18:31 +0100 Subject: [PATCH] gnu: autogen: Update to 5.18.16. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- gnu/packages/autogen.scm | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/gnu/packages/autogen.scm b/gnu/packages/autogen.scm index 5fc61fc70e..034db2ee96 100644 --- a/gnu/packages/autogen.scm +++ b/gnu/packages/autogen.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014 Eric Bavier ;;; Copyright © 2015, 2016 Efraim Flashner -;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,29 +32,33 @@ (define-public autogen (package (name "autogen") - (version "5.18.14") + (version "5.18.16") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/autogen/rel" version - "/autogen-" version ".tar.xz")) - (sha256 - (base32 - "1r06gam7sicb9ssn02mhv6r0g5vr4k0l0c67shpqa5i172cspizz")))) + (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 `(("pkg-config" ,pkg-config) ("which" ,which))) - (inputs `(("guile" ,guile-2.0) + (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") + #: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)$")) + (append (find-files "agen5/test" "\\.test$") + (find-files "autoopts/test" "\\.(test|in)$")) (("/bin/sh") sh)) #t)))))) (home-page "https://www.gnu.org/software/autogen/")