meta-tizen: desktop-file-utils: avoid host pollution
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 22 Jan 2015 14:13:01 +0000 (06:13 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 23 Jan 2015 08:18:48 +0000 (00:18 -0800)
commita48b85df80b3399d352fe66139eadd745961092d
treeb4f92705a5370f6466e04e2edf2d4d879efc5158
parent776fb419617bf5bddd2c4614484378ea8acc88ad
meta-tizen: desktop-file-utils: avoid host pollution

Building fails when Emacs is installed on the host. The reason
is that the .spec file assumes that Emacs is not installed and
installing the lisp files needs to be done manually after the
desktop-file-utils "make install".

The actual failure then is:
...
|   test ! -f /data/yocto/build/tizen-distro/ivi/x86_64/tmp-glibc/work/core2-64-oe-linux/desktop-file-utils/0.20-r0/image/usr/share/emacs/site-lisp/desktop-entry-mode.el
| ERROR: Function failed: do_install (log file is located at
/data/yocto/build/tizen-distro/ivi/x86_64/tmp-glibc/work/core2-64-oe-linux/desktop-file-utils/0.20-r0/temp/log.do_install.14197)
ERROR: Task 6589 (/data/yocto/tizen-distro/meta-tizen/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils_git.bb,do_install) failed with exit code '1'

To avoid the check for Emacs, pre-set the autoconf variable.

Change-Id: Ib96451edf8b5ce13f9e957668b4406bd3e64209d
(From meta-tizen rev: 5e2f67146d2f06b7171d532b420233e9f119c5f9)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils-extraconf.inc