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:
parent
02a585212f
commit
57c57f8541
@ -1136,10 +1136,14 @@ information for every pixel as the input.")
|
|||||||
(substitute* "mk/Autoconf.mk"
|
(substitute* "mk/Autoconf.mk"
|
||||||
(("/bin/echo") "echo")
|
(("/bin/echo") "echo")
|
||||||
(("/sbin/ldconfig -p") "echo lib")) #t))
|
(("/sbin/ldconfig -p") "echo lib")) #t))
|
||||||
|
(add-before 'build 'set-fcommon
|
||||||
|
(lambda _
|
||||||
|
(setenv "CFLAGS" "-fcommon")))
|
||||||
(delete 'configure))
|
(delete 'configure))
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
#:make-flags
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))))
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
|
(string-append "prefix=" (assoc-ref %outputs "out")))))
|
||||||
(inputs `(("libjpeg" ,libjpeg-turbo)
|
(inputs `(("libjpeg" ,libjpeg-turbo)
|
||||||
("curl" ,curl)
|
("curl" ,curl)
|
||||||
("libtiff" ,libtiff)
|
("libtiff" ,libtiff)
|
||||||
@ -1161,7 +1165,6 @@ information for every pixel as the input.")
|
|||||||
(description
|
(description
|
||||||
"fbida contains a few applications for viewing and editing images on
|
"fbida contains a few applications for viewing and editing images on
|
||||||
the framebuffer.")
|
the framebuffer.")
|
||||||
|
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public pdf2svg
|
(define-public pdf2svg
|
||||||
|
Loading…
Reference in New Issue
Block a user