From 57c57f854114b89ba5cd7b3aaa8edd779928f506 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 19 Sep 2021 18:09:29 +0000 Subject: gnu: fbida: Fix build. * gnu/packages/pdf.scm (fbida)[arguments]<#:phases>: Add a 'set-fcommon phase. Also wrap some lines and remove an empty one. --- gnu/packages/pdf.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu/packages/pdf.scm') diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 8e2cebe490..859bb1da39 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1136,10 +1136,14 @@ information for every pixel as the input.") (substitute* "mk/Autoconf.mk" (("/bin/echo") "echo") (("/sbin/ldconfig -p") "echo lib")) #t)) + (add-before 'build 'set-fcommon + (lambda _ + (setenv "CFLAGS" "-fcommon"))) (delete 'configure)) #:tests? #f - #:make-flags (list ,(string-append "CC=" (cc-for-target)) - (string-append "prefix=" (assoc-ref %outputs "out"))))) + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "prefix=" (assoc-ref %outputs "out"))))) (inputs `(("libjpeg" ,libjpeg-turbo) ("curl" ,curl) ("libtiff" ,libtiff) @@ -1161,7 +1165,6 @@ information for every pixel as the input.") (description "fbida contains a few applications for viewing and editing images on the framebuffer.") - (license license:gpl2+))) (define-public pdf2svg -- cgit v1.2.3