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.
This commit is contained in:
Mathieu Othacehe 2021-09-19 18:09:29 +00:00
parent 02a585212f
commit 57c57f8541
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

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