gnu: weex: Use ‘modify-phases’.
* gnu/packages/ftp.scm (weex): Use the ‘modify-phases’ syntax.
This commit is contained in:
parent
5f5b57681c
commit
bdc74f07c3
|
@ -139,18 +139,18 @@ FTP browser, as well as non-interactive commands such as 'ncftpput' and
|
||||||
(patches (search-patches "weex-vacopy.patch"))))
|
(patches (search-patches "weex-vacopy.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(alist-replace 'configure
|
(modify-phases %standard-phases
|
||||||
;; configure does not work followed by both "SHELL=..." and
|
(replace 'configure
|
||||||
;; "CONFIG_SHELL=..."; set environment variables instead
|
;; configure does not work followed by both "SHELL=..." and
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
;; "CONFIG_SHELL=..."; set environment variables instead
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(bash (which "bash")))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(setenv "SHELL" bash)
|
(bash (which "bash")))
|
||||||
(setenv "CONFIG_SHELL" bash)
|
(setenv "SHELL" bash)
|
||||||
(zero? (system* bash "./configure"
|
(setenv "CONFIG_SHELL" bash)
|
||||||
(string-append "--prefix=" out)))))
|
(zero? (system* bash "./configure"
|
||||||
%standard-phases)))
|
(string-append "--prefix=" out)))))))))
|
||||||
(home-page "http://weex.sourceforge.net/")
|
(home-page "http://weex.sourceforge.net/")
|
||||||
(synopsis "Non-interactive client for FTP synchronization")
|
(synopsis "Non-interactive client for FTP synchronization")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue