From 093d01d708c2f09213f1667ca45cd165c282e435 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Wed, 12 Mar 2008 10:35:31 +0000 Subject: directfb: Remove potential dangerous sed invocation. Add a -I in front and replace it with nothing It is still compiling and packaging. --- packages/directfb/++dfb_1.0.0.bb | 2 +- packages/directfb/directfb-examples_1.0.0.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/directfb/++dfb_1.0.0.bb b/packages/directfb/++dfb_1.0.0.bb index f440e117ff..020cbfe3eb 100644 --- a/packages/directfb/++dfb_1.0.0.bb +++ b/packages/directfb/++dfb_1.0.0.bb @@ -11,7 +11,7 @@ RV = "0.9-25" inherit autotools pkgconfig do_configure_append() { - find ${S} -type f | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:' + find ${S} -type f | xargs sed -i 's:-I/usr/include::g' } do_stage() { diff --git a/packages/directfb/directfb-examples_1.0.0.bb b/packages/directfb/directfb-examples_1.0.0.bb index 064a808273..e59e4ecf2e 100644 --- a/packages/directfb/directfb-examples_1.0.0.bb +++ b/packages/directfb/directfb-examples_1.0.0.bb @@ -11,8 +11,8 @@ S = "${WORKDIR}/DirectFB-examples-${PV}" inherit autotools do_configure_append() { -# find ${S} -type f | xargs sed -i 's:/usr/lib:${STAGING_LIBDIR}:' - find ${S} -type f | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:' +# find ${S} -type f | xargs sed -i 's:-L/usr/lib::g' + find ${S} -type f | xargs sed -i 's:-I/usr/include::g' } do_stage() { -- cgit v1.2.3