gnu: coreutils: Move Perl to 'native-inputs'.
* gnu/packages/base.scm (coreutils): Add 'native-inputs' field. This should allow cross builds to have man pages, and work around this 'dummy-man' bug: <http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/coreutils/coreutils-8.22/fix-for-dummy-man-usage.patch>.
This commit is contained in:
parent
49a8b80da6
commit
2c1dea853d
|
@ -242,12 +242,11 @@ used to apply commands with arbitrarily long arguments.")
|
||||||
"04hjzzv434fb8ak3hh3dyhdvg3hqjjwvjmjxqzk1gh2jh6cr8gjv"))))
|
"04hjzzv434fb8ak3hh3dyhdvg3hqjjwvjmjxqzk1gh2jh6cr8gjv"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("acl" ,acl) ; TODO: add SELinux
|
(inputs `(("acl" ,acl) ; TODO: add SELinux
|
||||||
("gmp" ,gmp)
|
("gmp" ,gmp)))
|
||||||
|
(native-inputs
|
||||||
;; Perl is needed to run tests; remove it from cross builds.
|
;; Perl is needed to run tests in native builds, and to run the bundled
|
||||||
,@(if (%current-target-system)
|
;; copy of help2man.
|
||||||
'()
|
`(("perl" ,perl)))
|
||||||
`(("perl" ,perl)))))
|
|
||||||
(outputs '("out" "debug"))
|
(outputs '("out" "debug"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:parallel-build? #f ; help2man may be called too early
|
`(#:parallel-build? #f ; help2man may be called too early
|
||||||
|
|
Loading…
Reference in New Issue