tk 8.4.19: Switch to patchdir rather than applying in do_configure
authorTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:10:12 +0000 (10:10 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:22:38 +0000 (10:22 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/tcltk/tk_8.4.19.bb

index 8d9293a..3dd4920 100644 (file)
@@ -7,7 +7,7 @@ PR = "r1"
 
 SRC_URI = "\
   ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
-  file://disable-xim.patch;apply=false \
+  file://disable-xim.patch;patchdir=..;striplevel=0 \
   file://tk-add-soname.patch;striplevel=2 \
 #  file://fix-configure.patch;striplevel=2 \
 "
@@ -23,7 +23,6 @@ EXTRA_OECONF = "\
 "
 
 do_configure() {
-       (cd .. ; patch -p0 -i ${WORKDIR}/disable-xim.patch)
        gnu-configize
        oe_runconf
 }