[oe-commits] [openembedded-core] 26/118: gettext_0.16.1: remove useless files to avoid sysroot conflicts

git at git.openembedded.org git at git.openembedded.org
Wed Jul 20 09:30:00 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 65eb9b78e9e57a12db4f0053e35ad555a4c33029
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Thu Jul 7 17:45:35 2016 +0800

    gettext_0.16.1: remove useless files to avoid sysroot conflicts
    
    Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts
    with gettext-native-minimal.
    
    [YOCTO #9890]
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/gettext/gettext_0.16.1.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb
index 9998676..8b6f0a7 100644
--- a/meta/recipes-core/gettext/gettext_0.16.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.16.1.bb
@@ -98,6 +98,13 @@ do_install_append() {
 	rm -f ${D}${libdir}/preloadable_libintl.so
 }
 
+do_install_append_class-native () {
+	rm ${D}${datadir}/aclocal/*
+	rm ${D}${datadir}/gettext/config.rpath
+	rm ${D}${datadir}/gettext/po/Makefile.in.in
+	rm ${D}${datadir}/gettext/po/remove-potcdate.sin
+}
+
 # Anyone inheriting gettext will have both gettext-native and gettext
 # available, and we don't want to use older macros from the target gettext in
 # a non-gplv3 build, so kill them and let dependent recipes rely on

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list