gnu: weex: Use ‘modify-phases’.
* gnu/packages/ftp.scm (weex): Use the ‘modify-phases’ syntax.
This commit is contained in:
		
							parent
							
								
									5f5b57681c
								
							
						
					
					
						commit
						bdc74f07c3
					
				
					 1 changed files with 12 additions and 12 deletions
				
			
		| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue