guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: xvid: Use 'modify-phases'.


From: Efraim Flashner
Subject: 02/03: gnu: xvid: Use 'modify-phases'.
Date: Sun, 21 Feb 2016 14:33:03 +0000

efraim pushed a commit to branch master
in repository guix.

commit 62fe2d47529b2c4dd757bb0c211d0515610ea6a5
Author: Efraim Flashner <address@hidden>
Date:   Sun Feb 21 10:56:50 2016 +0200

    gnu: xvid: Use 'modify-phases'.
    
    * gnu/packages/video.scm (xvid)[arguments]: Use 'modify-phases'.
---
 gnu/packages/video.scm |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ab1cae8..54fdde0 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]