[oe-commits] Aeschbacher, Fabrice : libsdl-directfb: fixed qa_configure error

git version control git at git.openembedded.org
Sat Dec 11 09:19:08 UTC 2010


Module: openembedded.git
Branch: master
Commit: 3ff643be4cf92865b26622838c5e06e88f8e8d47
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3ff643be4cf92865b26622838c5e06e88f8e8d47

Author: Aeschbacher, Fabrice <Fabrice.Aeschbacher at siemens.com>
Date:   Fri Nov 26 15:47:06 2010 +0100

libsdl-directfb: fixed qa_configure error

* without this patch, ${STAGING_DIR}/bin/directfb-config --cflags returns:
    -I/usr/include/directfb -D_REENTRANT
  which makes qa_configure complain about /usr/include

Signed-off-by: Fabrice Aeschbacher <fabrice.aeschbacher at siemens.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/libsdl/libsdl-directfb_1.2.14.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/libsdl/libsdl-directfb_1.2.14.bb b/recipes/libsdl/libsdl-directfb_1.2.14.bb
index 9f22ee5..4a3dab0 100644
--- a/recipes/libsdl/libsdl-directfb_1.2.14.bb
+++ b/recipes/libsdl/libsdl-directfb_1.2.14.bb
@@ -41,6 +41,7 @@ do_configure_prepend () {
         # Remove old libtool macros.
         MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
         for i in ${MACROS}; do
-               rm acinclude/$i
+               rm -f acinclude/$i
         done
+	export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
 }





More information about the Openembedded-commits mailing list