qscintilla: Switch to patchdir rather than applying in do_configure
authorTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:09:52 +0000 (10:09 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:22:32 +0000 (10:22 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/qscintilla/qscintilla_1.65-gpl-1.6.bb

index a88bf37..1e1b3a4 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "GPL"
 PR = "r1"
 
 SRC_URI = "http://www.mneuroth.de/privat/zaurus/qscintilla-${PV}_zaurus.tar.gz \
-           file://no-external-lexers.patch;apply=false"
+           file://no-external-lexers.patch;patchdir=..;striplevel=0"
 
 S = "${WORKDIR}/qscintilla-${PV}/qt"
 
@@ -22,10 +22,6 @@ EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${S}/patches \
 
 PARALLEL_MAKE = ""
 
-do_configure_prepend() {
-       (cd .. ; patch -p0 -i ${WORKDIR}/no-external-lexers.patch)
-}
-
 do_install() {
        install -d ${D}${libdir} ${D}${includedir}
        oe_libinstall -so libqscintilla ${D}${libdir}