diff options
Diffstat (limited to 'meta/recipes-extended/groff/groff-1.22.3/groff-1.22.2-correct-man.local-install-path.patch')
-rw-r--r-- | meta/recipes-extended/groff/groff-1.22.3/groff-1.22.2-correct-man.local-install-path.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-extended/groff/groff-1.22.3/groff-1.22.2-correct-man.local-install-path.patch b/meta/recipes-extended/groff/groff-1.22.3/groff-1.22.2-correct-man.local-install-path.patch new file mode 100644 index 0000000000..c73328a186 --- /dev/null +++ b/meta/recipes-extended/groff/groff-1.22.3/groff-1.22.2-correct-man.local-install-path.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | Correct the install path of man.local to fix following error: | ||
2 | /yocto/build/tmp/sysroots/x86_64-linux/usr/share/groff/1.22.2/tmac/an-old.tmac:690: warning: can't find macro file `man.local' | ||
3 | |||
4 | Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | diff --git a/tmac/Makefile.sub b/tmac/Makefile.sub | ||
8 | index 1506232..f1468c5 100644 | ||
9 | --- a/tmac/Makefile.sub | ||
10 | +++ b/tmac/Makefile.sub | ||
11 | @@ -121,9 +121,9 @@ install_data: $(NORMALFILES) $(SPECIALFILES) man.local \ | ||
12 | $(RM) $(DESTDIR)$(mdocdir)/$$f; \ | ||
13 | $(INSTALL_DATA) $$f-s $(DESTDIR)$(mdocdir)/$$f; \ | ||
14 | done | ||
15 | - -test -f $(DESTDIR)$(localtmacdir)/man.local \ | ||
16 | + -test -f $(DESTDIR)$(tmacdir)/man.local \ | ||
17 | || $(INSTALL_DATA) $(srcdir)/man.local \ | ||
18 | - $(DESTDIR)$(localtmacdir)/man.local | ||
19 | + $(DESTDIR)$(tmacdir)/man.local | ||
20 | -test -f $(DESTDIR)$(localtmacdir)/mdoc.local \ | ||
21 | || $(INSTALL_DATA) mdoc.local-s $(DESTDIR)$(localtmacdir)/mdoc.local | ||
22 | |||
23 | @@ -164,9 +164,9 @@ uninstall_sub: | ||
24 | $(RM) $(DESTDIR)$(tmacdir)/$(tmac_s_prefix)s.tmac | ||
25 | $(RM) $(DESTDIR)$(tmacdir)/$(tmac_an_prefix)an.tmac | ||
26 | $(RM) $(DESTDIR)$(tmacdir)/www.tmac | ||
27 | - -if cmp -s $(DESTDIR)$(localtmacdir)/man.local \ | ||
28 | + -if cmp -s $(DESTDIR)$(tmacdir)/man.local \ | ||
29 | $(srcdir)/man.local; then \ | ||
30 | - $(RM) $(DESTDIR)$(localtmacdir)/man.local; \ | ||
31 | + $(RM) $(DESTDIR)$(tmacdir)/man.local; \ | ||
32 | fi | ||
33 | -if cmp -s $(DESTDIR)$(localtmacdir)/mdoc.local \ | ||
34 | $(srcdir)/mdoc.local; then \ | ||