groff: Fix do_install in certain cases, along with DEPENDS
authorMike Westerhof <mwester@dls.net>
Wed, 23 Feb 2011 21:16:44 +0000 (14:16 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 23 Feb 2011 21:19:16 +0000 (14:19 -0700)
commit70bf94cd8669f549ca90581e9592d409b6e24e2e
tree48398ead83056e81cd884f10f512550149864b0c
parent813a686a451a9a8473473ab1db455abb510cee85
groff: Fix do_install in certain cases, along with DEPENDS

Sometimes groff fails in the do_install step, complaining that img/pic* does
not exist.  Normally, these files would be created by groff itself during the
build process, but since we are cross-compiling, the old recipe replaces the
invocation of groff and troff with echo commands.  However, echo does not
create the output files, which eventually results in the do_install failure.

This patch makes groff dependent on groff-native, and instead of using echo,
it instructs the build process to use the staged groff binaries.

(Tom Rini: While in here, switch to GNU_MIRROR)

Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mike Westerhof <mike@mwester.net>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/groff/groff_1.20.1.bb