guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: hoedown: Replace 'fix-makefile' phase with make-flags.


From: Mark H. Weaver
Subject: 01/01: gnu: hoedown: Replace 'fix-makefile' phase with make-flags.
Date: Tue, 21 Jul 2015 19:08:40 +0000

mhw pushed a commit to branch master
in repository guix.

commit 606a106fcc6e820e8b3a3c8b646d68a753f1fd09
Author: Mark H Weaver <address@hidden>
Date:   Tue Jul 21 15:06:38 2015 -0400

    gnu: hoedown: Replace 'fix-makefile' phase with make-flags.
    
    * gnu/packages/markdown.scm (hoedown)[arguments]: Remove 'fix-makefile' 
phase.
      Add equivalent make-flags.
---
 gnu/packages/markdown.scm |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/markdown.scm b/gnu/packages/markdown.scm
index 58ca102..ee0edfc 100644
--- a/gnu/packages/markdown.scm
+++ b/gnu/packages/markdown.scm
@@ -38,14 +38,8 @@
                "0mmmkfayqgh6k39kbi3pq68mg03x35aiygy3zypxzvwx9y8b53ky"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (add-before 'build 'fix-makefile
-                              (lambda* (#:key outputs #:allow-other-keys)
-                                (setenv "CC" "gcc")
-                                (substitute* '("Makefile")
-                                  (("/usr/local")
-                                   (assoc-ref outputs "out")))
-                                #t))
+     '(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
+       #:phases (modify-phases %standard-phases
                   (delete 'configure)) ; no configure script
        #:test-target "test"))
     (native-inputs



reply via email to

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