From 904df735b0dcc96d3bbf88fc375b8c899e75cf42 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 5 Apr 2012 18:56:51 +0000 Subject: rxtx: fix rebuilding Sometimes, due sstate hash changes, packages can be rebuild and this were causing build failures in some builds. The patch allows for it to keep working if configure is ran twice. Signed-off-by: Otavio Salvador --- recipes-core/rxtx/rxtx_2.2.0.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-core/rxtx/rxtx_2.2.0.bb b/recipes-core/rxtx/rxtx_2.2.0.bb index ae1ca48..28603e3 100644 --- a/recipes-core/rxtx/rxtx_2.2.0.bb +++ b/recipes-core/rxtx/rxtx_2.2.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Full Java CommAPI implementation" DEPENDS = "fastjar-native" LICENSE = "RXTXv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=32303a23463f90b12a7d1dafb8deabf4" -PR = "r1" +PR = "r2" SRC_URI = "http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2.zip \ file://zsystem_init_exception.patch \ @@ -33,10 +33,10 @@ do_configure_prepend() { sed -e 's,bin/javah,bin/gjavah,g' \ -e 's,bin/jar,bin/fastjar,g' \ -e 's,\$(TOP)/libtool,\$(TOP)/\${host_alias}-libtool,g' -i ${S}/configure.in - rm ${S}/acinclude.m4 \ - ${S}/aclocal.m4 \ - ${S}/ltconfig \ - ${S}/ltmain.sh + rm -f ${S}/acinclude.m4 \ + ${S}/aclocal.m4 \ + ${S}/ltconfig \ + ${S}/ltmain.sh } do_install_prepend() { -- cgit v1.2.3-54-g00ecf