Archived
1
0
Fork 0

gnu: libxext: Add "doc" output.

* gnu/packages/xorg.scm (libxext)[outputs]: New field.
[arguments]: Pass "--mandir".
This commit is contained in:
Ludovic Courtès 2020-11-08 22:26:16 +01:00
parent 70d310d5ad
commit 49a09ea9e5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -4737,9 +4737,13 @@ cannot be adequately worked around on the client side of the wire.")
(base32
"0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
(build-system gnu-build-system)
(outputs '("out" "doc")) ;man pages represent 40% of the total
(arguments
`(#:configure-flags
(list "--disable-static"
(string-append "--mandir="
(assoc-ref %outputs "doc")
"/share/man")
;; Disable zero malloc check that fails when cross-compiling.
,@(if (%current-target-system)
'("--disable-malloc0returnsnull")