[OE-core] [PATCH] gnome-common: add EXTRA_OECONF "--with-autoconf-archive"

Zhixiong Chi zhixiong.chi at windriver.com
Wed Apr 12 10:52:21 UTC 2017


After updating the autoconf-archive version to 2016.09.16, autoconf-archive
installs the same ax_*.m4 macros that gnome-common installs. So there will
be the conflict occurs.
The option '--with-autoconf-archive' is passed to configure, the macros
are not installed, and gnome-common will not install any M4 macros that
conflict with autoconf-archive.
At the same time, set the RDEPENDS for gnome-common.

Signed-off-by: Zhixiong Chi <zhixiong.chi at windriver.com>
---
 meta/recipes-gnome/gnome/gnome-common_3.18.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
index 06f3bb3..96817bb 100644
--- a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
@@ -14,6 +14,9 @@ SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd
 EXTRA_AUTORECONF = ""
 DEPENDS = ""
 
+EXTRA_OECONF += " --with-autoconf-archive"
+RDEPENDS_${PN} = "autoconf-archive"
+
 FILES_${PN} += "${datadir}/aclocal"
 FILES_${PN}-dev = ""
 
-- 
1.9.1




More information about the Openembedded-core mailing list