[oe-commits] Michael Smith : mtools: don't install-info; fixes build on non-Debian hosts

git version control git at git.openembedded.org
Tue Aug 18 14:14:42 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b0f102c5b7c4620fdfe87a02c15cef82332fe147
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b0f102c5b7c4620fdfe87a02c15cef82332fe147

Author: Michael Smith <msmith at cbnco.com>
Date:   Mon Aug 17 03:29:02 2009 +0000

mtools: don't install-info; fixes build on non-Debian hosts

The install-info installed into staging by dpkg-native looks for
/var/backups/infodir.bak and /usr/share/base-files/info.dir on
the build system. On Debian/Ubuntu this is benign, but on other
distros these files don't exist and the install fails.

The info file is still installed, we just don't try to rebuild the
nonexistent directory.

There are cleaner ways to solve this in the long run:

http://dev.openbossa.org/trac/mamona/ticket/139

Signed-off-by: Michael Smith <msmith at cbnco.com>
Signed-off-by: Holger Freyther <zecke at selfish.org>

---

 recipes/mtools/mtools_4.0.10.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/mtools/mtools_4.0.10.bb b/recipes/mtools/mtools_4.0.10.bb
index b53306a..18fbb7d 100644
--- a/recipes/mtools/mtools_4.0.10.bb
+++ b/recipes/mtools/mtools_4.0.10.bb
@@ -13,12 +13,15 @@ SRC_URI="http://ftp.gnu.org/gnu/mtools/mtools-${PV}.tar.bz2 \
 	file://plainio.patch;patch=1 \
 	file://use-sg_io.patch;patch=1"
 
-S = "${WORKDIR}/mtools-${PV}"
+PR = "r1"
 
 inherit autotools
 
 EXTRA_OECONF = "--without-x"
 
+# Don't try to run install-info -- it'll fail on non-Debian build systems.
+EXTRA_OEMAKE = "INSTALL_INFO="
+
 do_fix_perms() {
 	chmod 644 ${S}/*.c ${S}/*.h
 }





More information about the Openembedded-commits mailing list