gnu: weex: Use ‘modify-phases’.

* gnu/packages/ftp.scm (weex): Use the ‘modify-phases’ syntax.
This commit is contained in:
Tobias Geerinckx-Rice 2016-10-21 18:33:09 +02:00
parent 5f5b57681c
commit bdc74f07c3
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99
1 changed files with 12 additions and 12 deletions

View File

@ -140,7 +140,8 @@ FTP browser, as well as non-interactive commands such as 'ncftpput' and
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
(alist-replace 'configure (modify-phases %standard-phases
(replace 'configure
;; configure does not work followed by both "SHELL=..." and ;; configure does not work followed by both "SHELL=..." and
;; "CONFIG_SHELL=..."; set environment variables instead ;; "CONFIG_SHELL=..."; set environment variables instead
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -149,8 +150,7 @@ FTP browser, as well as non-interactive commands such as 'ncftpput' and
(setenv "SHELL" bash) (setenv "SHELL" bash)
(setenv "CONFIG_SHELL" bash) (setenv "CONFIG_SHELL" bash)
(zero? (system* bash "./configure" (zero? (system* bash "./configure"
(string-append "--prefix=" out))))) (string-append "--prefix=" out)))))))))
%standard-phases)))
(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