summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch')
-rw-r--r--meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch b/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
new file mode 100644
index 0000000000..8b683793eb
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
@@ -0,0 +1,19 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3help2man 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.
4
5Date: 2010/06/28
6Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
7
8diff --git a/doc/Makefile.am b/doc/Makefile.am
9index c7f2755..af9453a 100644
10--- a/doc/Makefile.am
11+++ b/doc/Makefile.am
12@@ -80,7 +80,6 @@ PREPATH = $(top_builddir)/src
13 echo cd $$dir '&&' $(MAKE) $(AM_MAKEFLAGS) $$program && \
14 (cd $$dir && $(MAKE) $(AM_MAKEFLAGS) $$program) || exit; \
15 done
16- $(AM_V_at)PATH="$(PREPATH)$(PATH_SEPARATOR)$$PATH"; \
17 export PATH; \
18 $(HELP2MAN) \
19 --include=$*.x \