summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch')
-rw-r--r--meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch81
1 files changed, 81 insertions, 0 deletions
diff --git a/meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch b/meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch
new file mode 100644
index 0000000000..5d831d5491
--- /dev/null
+++ b/meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch
@@ -0,0 +1,81 @@
1Upstream-Status: Pending
2
3automake 1.12 has deprecated use of mkdir_p, and it recommends
4use of MKDIR_P instead. Changed the code to avoid these kind
5of warning-errors.
6
7| make[2]: /build/tmp/work/x86_64-linux/libunistring-native-0.9.3-r2/image/srv/home/nitin/builds2/build0/tmp/sysroots/x86_64-linux/usr/share/doc/libunistring: Command not found
8| make[2]: *** [install-html-split] Error 127
9
10Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
112012/07/10
12
13Index: libunistring-0.9.3/doc/Makefile.am
14===================================================================
15--- libunistring-0.9.3.orig/doc/Makefile.am
16+++ libunistring-0.9.3/doc/Makefile.am
17@@ -87,7 +87,7 @@ TEXI2DVI = @TEXI2DVI@ $(TEXINCLUDES)
18 # The install-dvi target is already defined by automake.
19
20 installdirs-dvi:
21- $(mkdir_p) $(DESTDIR)$(dvidir)
22+ $(MKDIR_P) $(DESTDIR)$(dvidir)
23
24 uninstall-dvi:
25 $(RM) $(DESTDIR)$(dvidir)/libunistring.dvi
26@@ -105,7 +105,7 @@ libunistring.ps: libunistring.dvi
27 # The install-ps target is already defined by automake.
28
29 installdirs-ps:
30- $(mkdir_p) $(DESTDIR)$(psdir)
31+ $(MKDIR_P) $(DESTDIR)$(psdir)
32
33 uninstall-ps:
34 $(RM) $(DESTDIR)$(psdir)/libunistring.ps
35@@ -120,7 +120,7 @@ TEXI2PDF = @TEXI2DVI@ --pdf $(TEXINCLUDE
36 # The install-pdf target is already defined by automake.
37
38 installdirs-pdf:
39- $(mkdir_p) $(DESTDIR)$(pdfdir)
40+ $(MKDIR_P) $(DESTDIR)$(pdfdir)
41
42 uninstall-pdf:
43 $(RM) $(DESTDIR)$(pdfdir)/libunistring.pdf
44@@ -151,17 +151,17 @@ libunistring_toc.html: libunistring.texi
45 }
46
47 install-html-monolithic: libunistring.html
48- $(mkdir_p) $(DESTDIR)$(htmldir)
49+ $(MKDIR_P) $(DESTDIR)$(htmldir)
50 $(INSTALL_DATA) `if test -f libunistring.html; then echo .; else echo $(srcdir); fi`/libunistring.html $(DESTDIR)$(htmldir)/libunistring.html
51
52 install-html-split: libunistring_toc.html
53- $(mkdir_p) $(DESTDIR)$(htmldir)
54+ $(MKDIR_P) $(DESTDIR)$(htmldir)
55 for file in `if test -f libunistring_toc.html; then echo .; else echo $(srcdir); fi`/libunistring_*.html; do \
56 $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir)/`basename $$file`; \
57 done
58
59 installdirs-html:
60- $(mkdir_p) $(DESTDIR)$(htmldir)
61+ $(MKDIR_P) $(DESTDIR)$(htmldir)
62
63 uninstall-html-monolithic:
64 $(RM) $(DESTDIR)$(htmldir)/libunistring.html
65@@ -170,14 +170,14 @@ uninstall-html-split:
66 $(RM) $(DESTDIR)$(htmldir)/libunistring_*.html
67
68 dist-html-monolithic:
69- $(mkdir_p) $(distdir)/
70+ $(MKDIR_P) $(distdir)/
71 file=libunistring.html; \
72 if test -f $$file; then d=.; else d=$(srcdir); fi; \
73 cp -p $$d/$$file $(distdir)/$$file || exit 1
74
75 # We would like to put libunistring_*.html into EXTRA_DIST, but it doesn't work.
76 dist-html-split: libunistring_toc.html
77- $(mkdir_p) $(distdir)/
78+ $(MKDIR_P) $(distdir)/
79 file=libunistring_toc.html; \
80 if test -f $$file; then d=.; else d=$(srcdir); fi; \
81 for file in `cd $$d && echo libunistring_*.html`; do \