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

View File

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