diff options
author | Joe Slater <jslater@windriver.com> | 2012-06-07 16:37:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-08 11:43:21 +0100 |
commit | 570c54262ac96c2cd1926dfa07ed69fc53e72093 (patch) | |
tree | 8313ac1044a149e617238baaf72315a3c1439745 | |
parent | 5094da32327fb6a6ef499bf99bd3e0f48cb77bc9 (diff) | |
download | poky-570c54262ac96c2cd1926dfa07ed69fc53e72093.tar.gz |
gettext: install libgettextlib.a before removing it
In a multiple job build, Makefile can simultaneously
be installing and removing libgettextlib.a. We serialize
the operations.
(From OE-Core rev: 2750546b2152eecdbb37e963a2495383f6944184)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch | 34 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 |
2 files changed, 36 insertions, 1 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch b/meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch new file mode 100644 index 0000000000..4ca44cce88 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.18.1.1/parallel.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | instal libgettextlib.a before removing it | ||
2 | |||
3 | In a multiple job build, Makefile can simultaneously | ||
4 | be installing and removing libgettextlib.a. We serialize | ||
5 | the operations. | ||
6 | |||
7 | Signed-off-by: Joe Slater <jslater@windriver.com> | ||
8 | |||
9 | --- a/gettext-tools/gnulib-lib/Makefile.am | ||
10 | +++ b/gettext-tools/gnulib-lib/Makefile.am | ||
11 | @@ -57,6 +57,10 @@ endif | ||
12 | # Rules generated and collected by gnulib-tool. | ||
13 | include Makefile.gnulib | ||
14 | |||
15 | +# defined in Makefile.gnulib but missing this dependency | ||
16 | +# | ||
17 | +install-exec-clean: install-libLTLIBRARIES | ||
18 | + | ||
19 | # Which classes to export from the shared library. | ||
20 | MOOPPFLAGS += --dllexport=styled_ostream | ||
21 | |||
22 | --- a/gettext-tools/src/Makefile.am | ||
23 | +++ b/gettext-tools/src/Makefile.am | ||
24 | @@ -229,8 +229,8 @@ libgettextsrc_la_LDFLAGS += -Wl,--export | ||
25 | endif | ||
26 | |||
27 | # No need to install libgettextsrc.a, except on AIX. | ||
28 | -install-exec-local: install-libLTLIBRARIES install-exec-clean | ||
29 | -install-exec-clean: | ||
30 | +install-exec-local: install-exec-clean | ||
31 | +install-exec-clean: install-libLTLIBRARIES | ||
32 | case "@host_os@" in \ | ||
33 | aix*) ;; \ | ||
34 | *) $(RM) $(DESTDIR)$(libdir)/libgettextsrc.a ;; \ | ||
diff --git a/meta/recipes-core/gettext/gettext_0.18.1.1.bb b/meta/recipes-core/gettext/gettext_0.18.1.1.bb index 5685bbeb75..253ea43851 100644 --- a/meta/recipes-core/gettext/gettext_0.18.1.1.bb +++ b/meta/recipes-core/gettext/gettext_0.18.1.1.bb | |||
@@ -5,13 +5,14 @@ SECTION = "libs" | |||
5 | LICENSE = "GPLv3+ & LGPL-2.1+" | 5 | LICENSE = "GPLv3+ & LGPL-2.1+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
7 | 7 | ||
8 | PR = "r12" | 8 | PR = "r13" |
9 | DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat" | 9 | DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat" |
10 | DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native" | 10 | DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native" |
11 | PROVIDES = "virtual/libintl virtual/gettext" | 11 | PROVIDES = "virtual/libintl virtual/gettext" |
12 | PROVIDES_virtclass-native = "virtual/gettext-native" | 12 | PROVIDES_virtclass-native = "virtual/gettext-native" |
13 | CONFLICTS_${PN} = "proxy-libintl" | 13 | CONFLICTS_${PN} = "proxy-libintl" |
14 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | 14 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ |
15 | file://parallel.patch \ | ||
15 | " | 16 | " |
16 | 17 | ||
17 | SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \ | 18 | SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \ |