qt4: fix pkgconfig logic to avoid: NOTE: <type 'exceptions.Exception'>:variable inclu...
authorKoen Kooi <koen@openembedded.org>
Sun, 28 Mar 2010 16:08:23 +0000 (18:08 +0200)
committerKoen Kooi <koen@openembedded.org>
Sun, 28 Mar 2010 16:08:23 +0000 (18:08 +0200)
${includedir}

recipes/qt4/qt4.inc

index 861b38d..5a19f65 100644 (file)
@@ -265,7 +265,7 @@ do_install() {
 
        # QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so manually fix it up here:
        for pc in ${D}${libdir}/pkgconfig/*.pc ; do
-               sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):includedir}:" \
+               sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):prefix}/include:" \
                       -e "s,Cflags: ,Cflags: -IP{includedir}/${QT_BASE_NAME}/$(basename $pc .pc) ," \
                       -e 's:IP{:I${:g' $pc
        done