From patchwork Mon Oct 1 14:38:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-oe, 5/6] foxtrotgps: rename configure.in only if it still exists Date: Mon, 01 Oct 2012 14:38:49 -0000 From: Martin Jansa X-Patchwork-Id: 37537 Message-Id: <78b75773e1968d4311c12e92b2d80c6194685f82.1349102278.git.Martin.Jansa@gmail.com> To: openembedded-devel@lists.openembedded.org * it was failing when do_configure was reexecuted in same workdir Signed-off-by: Martin Jansa --- meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"