gnu: libxdg-basedir: Don't run autogen.sh manually.

* gnu/packages/freedesktop.scm (libxdg-basedir)[arguments]: Rename "autogen"
phase to "patch-autogen"; remove invocation of "autogen.sh" script as it will
be executed in the "bootstrap" phase.
This commit is contained in:
Ricardo Wurmus 2019-01-25 12:12:34 +01:00
parent fbc70c97c6
commit 15dc8ed5f4
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3,7 +3,7 @@
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015, 2017 Andy Wingo <wingo@pobox.com>
;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
@ -209,12 +209,12 @@ (define-public libxdg-basedir
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'autogen
(add-after 'unpack 'patch-autogen
(lambda _
;; Run 'configure' in its own phase, not now.
(substitute* "autogen.sh"
(("^.*\\./configure.*") ""))
(zero? (system* "sh" "autogen.sh")))))))
#t)))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)