me
/
guix
Archived
1
0
Fork 0

gnu: qpdf: Fix cross-building.

* gnu/packages/pdf.scm (qpdf)[arguments]: When cross-building add
configure-flags to set /dev/random and /dev/urandom as existing.
master
Efraim Flashner 2023-04-10 23:16:08 +03:00
parent 49cbc18334
commit 6dfa3e5d85
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 7 additions and 1 deletions

View File

@ -910,7 +910,13 @@ line tools for batch rendering @command{pdfdraw}, rewriting files
"0yw2cpw7ygfd6jlgpwbi8vsnvv9p55zxp9h17x77z2qq733pf8jx")))) "0yw2cpw7ygfd6jlgpwbi8vsnvv9p55zxp9h17x77z2qq733pf8jx"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:disallowed-references (,perl) `(#:configure-flags '(,@(if (%current-target-system)
;; We cannot check for these devices
;; when cross compiling.
`("ac_cv_file__dev_random=yes"
"ac_cv_file__dev_urandom=yes")
'()))
#:disallowed-references (,perl)
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'patch-paths (add-before 'configure 'patch-paths