gnu: xvid: Use 'modify-phases'.

* gnu/packages/video.scm (xvid)[arguments]: Use 'modify-phases'.
This commit is contained in:
Efraim Flashner 2016-02-21 10:56:50 +02:00
parent e05035c70d
commit 62fe2d4752
1 changed files with 7 additions and 7 deletions

View File

@ -1170,13 +1170,13 @@ format changes.")
(native-inputs `(("yasm" ,yasm))) (native-inputs `(("yasm" ,yasm)))
(arguments (arguments
'(#:phases '(#:phases
(alist-cons-before (modify-phases %standard-phases
'configure 'pre-configure (add-before
(lambda _ 'configure 'pre-configure
(chdir "build/generic") (lambda _
(substitute* "configure" (chdir "build/generic")
(("#! /bin/sh") (string-append "#!" (which "sh"))))) (substitute* "configure"
%standard-phases) (("#! /bin/sh") (string-append "#!" (which "sh")))))))
;; No 'check' target. ;; No 'check' target.
#:tests? #f)) #:tests? #f))
(home-page "https://www.xvid.com/") (home-page "https://www.xvid.com/")