gnome-common: add PACKAGECONFIG for autoconf-archive

Add PACKAGECONFIG for autoconf-archive. Default to enable it to avoid
m4 file conflicts between gnome-common and autoconf-archive.

e.g.
IMAGE_INSTALL_append = " gnome-common autoconf-archive-dev"
bitbake <image>

We enable autoconf-archive PACKAGECONFIG to avoid the following error.

Error: Transaction check error:
  file /usr/share/aclocal/ax_check_enable_debug.m4 conflicts between attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64
  file /usr/share/aclocal/ax_code_coverage.m4 conflicts between attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Chen Qi 2017-10-24 16:19:44 +08:00 committed by Armin Kuster
parent 2d5d25fa44
commit d3854f0cbd

View File

@ -14,6 +14,10 @@ SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd
EXTRA_AUTORECONF = ""
DEPENDS = ""
# Default to enable autoconf-archive to avoid conflicts
PACKAGECONFIG ??= "autoconf-archive"
PACKAGECONFIG[autoconf-archive] = "--with-autoconf-archive, --without-autoconf-archive, autoconf-archive"
FILES_${PN} += "${datadir}/aclocal"
FILES_${PN}-dev = ""