guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: freeimage: Use 'modify-phases' syntax.


From: Efraim Flashner
Subject: 02/02: gnu: freeimage: Use 'modify-phases' syntax.
Date: Fri, 14 Oct 2016 10:44:05 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 4a2798e0672cb610313b8ea833b802adfe905c92
Author: Efraim Flashner <address@hidden>
Date:   Fri Oct 14 11:31:26 2016 +0300

    gnu: freeimage: Use 'modify-phases' syntax.
    
    * gnu/packages/image.scm (freeimage)[arguments]: Use 'modify-phases'
    syntax.
---
 gnu/packages/image.scm |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 27060d5..7455bb8 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -585,15 +585,15 @@ supplies a generic doubly-linked list and some string 
functions.")
                                      "freeimage-CVE-2016-5684.patch"))))
    (build-system gnu-build-system)
    (arguments
-    '(#:phases (alist-delete
-                'configure
-                (alist-cons-before
-                 'build 'patch-makefile
-                 (lambda* (#:key outputs #:allow-other-keys)
-                   (substitute* "Makefile.gnu"
-                     (("/usr") (assoc-ref outputs "out"))
-                     (("-o root -g root") "")))
-                 %standard-phases))
+    '(#:phases
+      (modify-phases %standard-phases
+        (delete 'configure)
+        (add-before 'build 'patch-makefile
+          (lambda* (#:key outputs #:allow-other-keys)
+            (substitute* "Makefile.gnu"
+              (("/usr") (assoc-ref outputs "out"))
+              (("-o root -g root") ""))
+            #t)))
       #:make-flags '("CC=gcc")
       #:tests? #f)) ; no check target
    (native-inputs



reply via email to

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