guix-commits
[Top][All Lists]
Advanced

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

10/11: gnu: libvpx: Use 'modify-phases'.


From: ???
Subject: 10/11: gnu: libvpx: Use 'modify-phases'.
Date: Wed, 03 Feb 2016 10:58:11 +0000

iyzsong pushed a commit to branch wip-gstreamer
in repository guix.

commit b9dfeddabc7a687b33afe69f8be6388f2efb8a64
Author: Efraim Flashner <address@hidden>
Date:   Tue Jan 19 07:24:28 2016 +0200

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

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 70b52ed..488b246 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -783,20 +783,20 @@ projects while introducing many more.")
                 "15v7qw0ydyxn08ksb6lxn1l51pxgpwgshdwd3275yrr5hs86fv9h"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (alist-replace
-                 'configure
-                 (lambda* (#:key outputs #:allow-other-keys)
-                   (setenv "CONFIG_SHELL" (which "bash"))
-                   (let ((out (assoc-ref outputs "out")))
-                     (setenv "LDFLAGS"
-                             (string-append "-Wl,-rpath=" out "/lib"))
-                     (zero? (system* "./configure"
-                                     "--enable-shared"
-                                     "--as=yasm"
-                                     ;; Limit size to avoid CVE-2015-1258
-                                     "--size-limit=16384x16384"
-                                     (string-append "--prefix=" out)))))
-                 %standard-phases)
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key outputs #:allow-other-keys)
+             (setenv "CONFIG_SHELL" (which "bash"))
+             (let ((out (assoc-ref outputs "out")))
+               (setenv "LDFLAGS"
+                       (string-append "-Wl,-rpath=" out "/lib"))
+               (zero? (system* "./configure"
+                               "--enable-shared"
+                               "--as=yasm"
+                               ;; Limit size to avoid CVE-2015-1258
+                               "--size-limit=16384x16384"
+                               (string-append "--prefix=" out)))))))
        #:tests? #f)) ; no check target
     (native-inputs
      `(("perl" ,perl)



reply via email to

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