xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Don't use the target perl when regenerating the man pages.
2
3Upstream-Status: Inappropriate
4Signed-off-by: Ross Burton <ross.burton@arm.com>
5
6diff --git a/man/local.mk b/man/local.mk
7index e69858b1..78c68ab5 100644
8--- a/man/local.mk
9+++ b/man/local.mk
10@@ -67,13 +67,12 @@ SUFFIXES += .w .1
11 	@echo "Updating man page $@"
12 	$(MKDIR_P) $(@D)
13 	PATH="$(top_srcdir)/man$(PATH_SEPARATOR)$$PATH"; \
14-	PERL="$(PERL)"; \
15 	PACKAGE_NAME="$(PACKAGE_NAME)"; \
16 	VERSION="$(VERSION)"; \
17 	RELEASE_YEAR="$(RELEASE_YEAR)"; \
18 	top_srcdir="$(top_srcdir)"; \
19 	channeldefs_pm="$(channeldefs_pm)"; \
20-	export PATH PERL PACKAGE_NAME VERSION RELEASE_YEAR; \
21+	export PATH PACKAGE_NAME VERSION RELEASE_YEAR; \
22 	export top_srcdir channeldefs_pm; \
23 	$(HELP2MAN) \
24 	    --include=$(srcdir)/$*.x \
25