guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: poppler: Use 'modify-phases'.


From: Efraim Flashner
Subject: 07/08: gnu: poppler: Use 'modify-phases'.
Date: Tue, 16 Aug 2016 06:51:23 +0000 (UTC)

efraim pushed a commit to branch core-updates
in repository guix.

commit fb0c4d1ac2fe8b82474964662e08a82fb581fe3c
Author: Efraim Flashner <address@hidden>
Date:   Mon Aug 15 11:43:57 2016 +0300

    gnu: poppler: Use 'modify-phases'.
    
    * gnu/packages/pdf.scm (poppler)[arguments]: Use 'modify-phases'.
---
 gnu/packages/pdf.scm |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index dd6fc00..4757ef7 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -95,14 +95,13 @@
         ;; Saves 8 MiB of .a files.
         "--disable-static")
       #:phases
-      (alist-cons-before
-       'configure 'setenv
-       (lambda _
-         (setenv "CPATH"
-                 (string-append (assoc-ref %build-inputs "openjpeg-1")
-                                "/include/openjpeg-1.5"
-                                ":" (or (getenv "CPATH") ""))))
-        %standard-phases)))
+      (modify-phases %standard-phases
+        (add-before 'configure 'setenv
+          (lambda _
+            (setenv "CPATH"
+                    (string-append (assoc-ref %build-inputs "openjpeg-1")
+                                   "/include/openjpeg-1.5"
+                                   ":" (or (getenv "CPATH") ""))))))))
    (synopsis "PDF rendering library")
    (description
     "Poppler is a PDF rendering library based on the xpdf-3.0 code base.")



reply via email to

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