Patchwork [14/15] libfm: fix build with automake 1.12.x

login
register
mail settings
Submitter Nitin A Kamble
Date July 9, 2012, 4:26 p.m.
Message ID <be82eaf643e569cc4a9f30b5b9631037947120d2.1341850982.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/31537/
State Accepted
Commit 456b48aaf746f07492fda5a047453d35b3ae7fb7
Headers show

Comments

Nitin A Kamble - July 9, 2012, 4:26 p.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Avoids this build issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libfm-0.1.17-r4/image/usr/lib/gio/modules/': No such file or directory
NOTE: package libfm-0.1.17-r4: task do_install: Failed

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-support/libfm/libfm_0.1.17.bb |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Patch

diff --git a/meta/recipes-support/libfm/libfm_0.1.17.bb b/meta/recipes-support/libfm/libfm_0.1.17.bb
index 1bd8850..2cac361 100644
--- a/meta/recipes-support/libfm/libfm_0.1.17.bb
+++ b/meta/recipes-support/libfm/libfm_0.1.17.bb
@@ -21,10 +21,5 @@  SRC_URI[sha256sum] = "1740681cff4cd4c5a2eaa9805d8898269cfb6a49a0bda0acb242def15b
 
 inherit autotools pkgconfig
 
-do_install_append () {
-	rmdir ${D}${libdir}/gio/modules/
-	rmdir ${D}${libdir}/gio/
-}
-
 PACKAGES += "${PN}-mime"
 FILES_${PN}-mime = "${datadir}/mime/"