From: Holger Freyther Date: Wed, 12 Mar 2008 10:35:31 +0000 (+0000) Subject: directfb: Remove potential dangerous sed invocation. Add a -I in front and replace... X-Git-Tag: Release-2010-05/1~7494^2~9^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093d01d708c2f09213f1667ca45cd165c282e435;p=openembedded.git directfb: Remove potential dangerous sed invocation. Add a -I in front and replace it with nothing It is still compiling and packaging. --- 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() {