[oe-commits] Martin Jansa : foxtrotgps: rename configure.in only if it still exists

git at git.openembedded.org git at git.openembedded.org
Wed Oct 3 10:33:41 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 44b3c94232301bbfa97fe967635615ea91c77055
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=44b3c94232301bbfa97fe967635615ea91c77055

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Fri Sep 28 20:33:01 2012 +0200

foxtrotgps: rename configure.in only if it still exists

* it was failing when do_configure was reexecuted in same workdir

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../foxtrotgps/foxtrotgps_1.1.1.bb                 |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb b/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
index 4572b8f..0cafdde 100644
--- a/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
+++ b/meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
@@ -12,8 +12,12 @@ SRC_URI[sha256sum] = "ae9706285510554cc0813ac92522e0d1672b0ddb065307bfacfcff3c32
 
 inherit autotools pkgconfig perlnative
 
+PR = "r1"
+
 do_configure_prepend() {
-  mv ${S}/configure.in ${S}/configure.ac
+  if [ -f ${S}/configure.in ] ; then
+    mv ${S}/configure.in ${S}/configure.ac
+  fi
 }
 
 RRECOMMENDS_${PN} = "gpsd"





More information about the Openembedded-commits mailing list