diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/image.scm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 27060d5ff1..7455bb8889 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -585,15 +585,15 @@ supplies a generic doubly-linked list and some string functions.") "freeimage-CVE-2016-5684.patch")))) (build-system gnu-build-system) (arguments - '(#:phases (alist-delete - 'configure - (alist-cons-before - 'build 'patch-makefile - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "Makefile.gnu" - (("/usr") (assoc-ref outputs "out")) - (("-o root -g root") ""))) - %standard-phases)) + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'patch-makefile + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile.gnu" + (("/usr") (assoc-ref outputs "out")) + (("-o root -g root") "")) + #t))) #:make-flags '("CC=gcc") #:tests? #f)) ; no check target (native-inputs |