gnu: freeimage: Use 'modify-phases' syntax.
* gnu/packages/image.scm (freeimage)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
76e8566c1b
commit
4a2798e067
|
@ -585,15 +585,15 @@ supplies a generic doubly-linked list and some string functions.")
|
||||||
"freeimage-CVE-2016-5684.patch"))))
|
"freeimage-CVE-2016-5684.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (alist-delete
|
'(#:phases
|
||||||
'configure
|
(modify-phases %standard-phases
|
||||||
(alist-cons-before
|
(delete 'configure)
|
||||||
'build 'patch-makefile
|
(add-before 'build 'patch-makefile
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "Makefile.gnu"
|
(substitute* "Makefile.gnu"
|
||||||
(("/usr") (assoc-ref outputs "out"))
|
(("/usr") (assoc-ref outputs "out"))
|
||||||
(("-o root -g root") "")))
|
(("-o root -g root") ""))
|
||||||
%standard-phases))
|
#t)))
|
||||||
#:make-flags '("CC=gcc")
|
#:make-flags '("CC=gcc")
|
||||||
#:tests? #f)) ; no check target
|
#:tests? #f)) ; no check target
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Reference in New Issue