gnu: hoedown: Replace 'fix-makefile' phase with make-flags.
* gnu/packages/markdown.scm (hoedown)[arguments]: Remove 'fix-makefile' phase. Add equivalent make-flags.master
parent
d739f48140
commit
606a106fcc
|
@ -38,14 +38,8 @@
|
||||||
"0mmmkfayqgh6k39kbi3pq68mg03x35aiygy3zypxzvwx9y8b53ky"))))
|
"0mmmkfayqgh6k39kbi3pq68mg03x35aiygy3zypxzvwx9y8b53ky"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
'(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
|
||||||
(add-before 'build 'fix-makefile
|
#:phases (modify-phases %standard-phases
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(setenv "CC" "gcc")
|
|
||||||
(substitute* '("Makefile")
|
|
||||||
(("/usr/local")
|
|
||||||
(assoc-ref outputs "out")))
|
|
||||||
#t))
|
|
||||||
(delete 'configure)) ; no configure script
|
(delete 'configure)) ; no configure script
|
||||||
#:test-target "test"))
|
#:test-target "test"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue