diff options
| -rw-r--r-- | meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch | 81 | ||||
| -rw-r--r-- | meta/recipes-support/libunistring/libunistring_0.9.3.bb | 5 |
2 files changed, 84 insertions, 2 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 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | automake 1.12 has deprecated use of mkdir_p, and it recommends | ||
| 4 | use of MKDIR_P instead. Changed the code to avoid these kind | ||
| 5 | of 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 | |||
| 10 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
| 11 | 2012/07/10 | ||
| 12 | |||
| 13 | Index: 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 \ | ||
diff --git a/meta/recipes-support/libunistring/libunistring_0.9.3.bb b/meta/recipes-support/libunistring/libunistring_0.9.3.bb index 02a28f40b3..454a0e6c35 100644 --- a/meta/recipes-support/libunistring/libunistring_0.9.3.bb +++ b/meta/recipes-support/libunistring/libunistring_0.9.3.bb | |||
| @@ -18,12 +18,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | |||
| 18 | file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" | 18 | file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" |
| 19 | 19 | ||
| 20 | SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz \ | 20 | SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz \ |
| 21 | file://parallelmake.patch" | 21 | file://parallelmake.patch \ |
| 22 | file://libunistring_fix_for_automake_1.12.patch" | ||
| 22 | 23 | ||
| 23 | SRC_URI[md5sum] = "db8eca3b64163abadf8c40e5cecc261f" | 24 | SRC_URI[md5sum] = "db8eca3b64163abadf8c40e5cecc261f" |
| 24 | SRC_URI[sha256sum] = "610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3" | 25 | SRC_URI[sha256sum] = "610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3" |
| 25 | 26 | ||
| 26 | PR = "r2" | 27 | PR = "r3" |
| 27 | 28 | ||
| 28 | inherit autotools | 29 | inherit autotools |
| 29 | BBCLASSEXTEND = "native nativesdk" | 30 | BBCLASSEXTEND = "native nativesdk" |
