gnu: bitlbee-discord: Do not run autogen.sh in custom autogen phase.

* gnu/packages/messaging.scm (bitlbee-discord)[arguments]: Rename "autogen"
phase to "patch-autogen"; don't invoke "autogen.sh" script as it is invoked in
the "bootstrap" phase; return #T from "patch-autogen" phase.
This commit is contained in:
Ricardo Wurmus 2019-01-25 12:34:43 +01:00
parent bea06837a3
commit e6a24cd08b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -225,12 +225,12 @@ (define-public bitlbee-discord
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'autogen
(add-after 'unpack 'patch-autogen
(lambda _
(let ((sh (which "sh")))
(substitute* "autogen.sh" (("/bin/sh") sh))
(setenv "CONFIG_SHELL" sh)
(zero? (system* "./autogen.sh")))))
(setenv "CONFIG_SHELL" sh))
#t))
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(invoke "./configure"