aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bison/bison/fix_cross_manpage_building.patch
blob: 126cbaa1ac207c88c59bc1db91cbcd2857ad025c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>

Index: bison-2.4.2/doc/Makefile.am
===================================================================
--- bison-2.4.2.orig/doc/Makefile.am
+++ bison-2.4.2/doc/Makefile.am
@@ -77,7 +77,7 @@ PREPATH = $(top_builddir)/src
 	  (cd $$dir && $(MAKE) $(AM_MAKEFLAGS) $$program) || exit;	\
 	done
 	@echo "Updating man page $@"
-	PATH="$(PREPATH)$(PATH_SEPARATOR)$$PATH";			     \
+#	PATH="$(PREPATH)$(PATH_SEPARATOR)$$PATH";			     
 	export PATH;							     \
 	$(HELP2MAN)							     \
 	    --include=$*.x						     \