summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-07-21 15:06:38 -0400
committerMark H Weaver <mhw@netris.org>2015-07-21 15:08:33 -0400
commit606a106fcc6e820e8b3a3c8b646d68a753f1fd09 (patch)
tree9eaf04bf42533b11811e5fb8352859f761fd5706
parentd739f48140e317602cebffd5fd3da92059a235fc (diff)
gnu: hoedown: Replace 'fix-makefile' phase with make-flags.
* gnu/packages/markdown.scm (hoedown)[arguments]: Remove 'fix-makefile' phase. Add equivalent make-flags.
-rw-r--r--gnu/packages/markdown.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/packages/markdown.scm b/gnu/packages/markdown.scm
index 58ca10277ad..ee0edfc3490 100644
--- a/gnu/packages/markdown.scm
+++ b/gnu/packages/markdown.scm
@@ -38,14 +38,8 @@
38 "0mmmkfayqgh6k39kbi3pq68mg03x35aiygy3zypxzvwx9y8b53ky")))) 38 "0mmmkfayqgh6k39kbi3pq68mg03x35aiygy3zypxzvwx9y8b53ky"))))
39 (build-system gnu-build-system) 39 (build-system gnu-build-system)
40 (arguments 40 (arguments
41 '(#:phases (modify-phases %standard-phases 41 '(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
42 (add-before 'build 'fix-makefile 42 #:phases (modify-phases %standard-phases
43 (lambda* (#:key outputs #:allow-other-keys)
44 (setenv "CC" "gcc")
45 (substitute* '("Makefile")
46 (("/usr/local")
47 (assoc-ref outputs "out")))
48 #t))
49 (delete 'configure)) ; no configure script 43 (delete 'configure)) ; no configure script
50 #:test-target "test")) 44 #:test-target "test"))
51 (native-inputs 45 (native-inputs