Files
poky/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
Bogdan Marinescu 8030c3f264 bison: updated to 2.5.1
The gets patch is not needed anymore in this version. The
manpage patch was updated for this version.

(From OE-Core rev: 2f11d409e20d90f2d619b4d92495c3fcd30584ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06 16:13:12 +01:00

20 lines
836 B
Diff

Upstream-Status: Inappropriate [embedded specific]
help2man is looking at the generated binary for help output. This does not work for cross compilations. So taking out the local PREPATH (../src) directory from path so that help2 man can find the native version of the bison in the native sysroot directory.
Date: 2010/06/28
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
diff --git a/doc/Makefile.am b/doc/Makefile.am
index c7f2755..af9453a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -80,7 +80,6 @@ PREPATH = $(top_builddir)/src
echo cd $$dir '&&' $(MAKE) $(AM_MAKEFLAGS) $$program && \
(cd $$dir && $(MAKE) $(AM_MAKEFLAGS) $$program) || exit; \
done
- $(AM_V_at)PATH="$(PREPATH)$(PATH_SEPARATOR)$$PATH"; \
export PATH; \
$(HELP2MAN) \
--include=$*.x \