me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/markdown.scm (hoedown)[arguments]: Remove 'fix-makefile' phase.
  Add equivalent make-flags.
master
Mark H Weaver 2015-07-21 15:06:38 -04:00
parent d739f48140
commit 606a106fcc
1 changed files with 2 additions and 8 deletions

View File

@ -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