aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-09-28 20:33:01 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2012-10-02 19:29:07 +0200
commit44b3c94232301bbfa97fe967635615ea91c77055 (patch)
tree18855b6eea3a08e5f21bf73ab8b580faee116bc7
parent2730f4f6fa057eb0c7c2a4a09a28919c7e201698 (diff)
downloadmeta-openembedded-contrib-44b3c94232301bbfa97fe967635615ea91c77055.tar.gz
meta-openembedded-contrib-44b3c94232301bbfa97fe967635615ea91c77055.tar.bz2
meta-openembedded-contrib-44b3c94232301bbfa97fe967635615ea91c77055.zip
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@gmail.com>
-rw-r--r--meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb6
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 4572b8f483..0cafdde183 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"