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.master
parent
bea06837a3
commit
e6a24cd08b
|
@ -225,12 +225,12 @@ identi.ca and status.net).")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'autogen
|
(add-after 'unpack 'patch-autogen
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((sh (which "sh")))
|
(let ((sh (which "sh")))
|
||||||
(substitute* "autogen.sh" (("/bin/sh") sh))
|
(substitute* "autogen.sh" (("/bin/sh") sh))
|
||||||
(setenv "CONFIG_SHELL" sh)
|
(setenv "CONFIG_SHELL" sh))
|
||||||
(zero? (system* "./autogen.sh")))))
|
#t))
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(invoke "./configure"
|
(invoke "./configure"
|
||||||
|
|
Reference in New Issue