anchor.diff:          echo "Removing  _location settings from $pc"
           sed -i -e '/^[^_]*_location=/ d' $pc
       done
  +    
  +    # work around for building webkit-supplemental without qt4-webos BUILDDIR
  +    install -d ${D}${QT4_STAGING_BUILD_DIR}/git/src
  +    cp -ra ${S}/src/gui ${D}${QT4_STAGING_BUILD_DIR}/git/src
  +    cp -ra ${S}/src/corelib ${D}${QT4_STAGING_BUILD_DIR}/git/src
  +
  +    install -d ${D}${QT4_STAGING_BUILD_DIR}/git/src/3rdparty
  +    cp -ra ${S}/src/3rdparty/harfbuzz ${D}${QT4_STAGING_BUILD_DIR}/git/src/3rdparty
  +    install -d ${D}${QT4_STAGING_BUILD_DIR}/git/src/3rdparty/webkit/
  +    cp -ra ${S}/src/3rdparty/webkit/include ${D}${QT4_STAGING_BUILD_DIR}/git/src/3rdparty/webkit/
  +
  +    install -d ${D}${QT4_STAGING_BUILD_DIR}/build
  +    install -d ${D}${QT4_STAGING_BUILD_DIR}/build/src
  +    cp -ra ${PALM_BUILD_DIR}/include/ ${D}${QT4_STAGING_BUILD_DIR}/build
  +    cp -ra ${PALM_BUILD_DIR}/src/corelib ${D}${QT4_STAGING_BUILD_DIR}/build/src
   
       # XXX Nova-Main has libqpalm.so under ${libdir} as well as /usr/plugins because that's
       # where the link of luna-sysmgr expects to find it. luna-sysmgr will be changed by
  
positive.code:     set +x
  }
  
  
  FILES_${PN} += "/usr/plugins"
  # Yes, qmake-webos IS correct: mkspecs are dependent on the target.
  FILES_${PN}-dev += "${libdir}/qmake-webos"
  FILES_${PN}-dbg += "/usr/plugins/*/.debug"
  FILES_${PN}-dbg += "/usr/plugins/imports/Qt/labs/shaders/.debug"
  
negative.code: S = "${WORKDIR}/git"
  
  PALM_BUILD_DIR = "${S}/../qt-build-${MACHINE}"
  QT4_STAGING_BUILD_DIR = "/usr/src/qt4-webos"
  
  EXTRA_OEMAKE += "-C ${PALM_BUILD_DIR}"
  
  