[oe] [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath

Petr Štetiar ynezz at true.cz
Mon Feb 8 19:50:12 UTC 2010


This patch fixes configure error, complaining about missing config.rpath file
which gets deleted by autofoo in recipe, so to avoid error bellow we create
empty file, making configure happy.

configure.ac:104: required file `config/config.rpath' not found
[...snip...]
autoreconf: automake failed with exit status: 1
FATAL: autoreconf execution failed.

Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 recipes/mc/mc_4.6.2.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/mc/mc_4.6.2.bb b/recipes/mc/mc_4.6.2.bb
index 387187d..3eb6bf3 100644
--- a/recipes/mc/mc_4.6.2.bb
+++ b/recipes/mc/mc_4.6.2.bb
@@ -1,5 +1,5 @@
 require mc.inc
-PR = "r4"
+PR = "r5"
 HOMEPAGE = "http://www.midnight-commander.org/"
 
 # most of these fixes were copied from openSUSE Factory.
@@ -86,4 +86,6 @@ AUTOFOO="config.guess config.rpath config.sub depcomp install-sh missing mkinsta
          for i in ${AUTOFOO}; do
            rm config/${i}
          done
+         # raises error if it's not found
+         touch config/config.rpath
 }
-- 
1.6.0.4





More information about the Openembedded-devel mailing list