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