poboxserver: Switch to patchdir rather than applying in do_configure
authorTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:09:36 +0000 (10:09 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 31 Mar 2011 17:22:28 +0000 (10:22 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/poboxserver/poboxserver_1.2.5.bb

index 4ff581d..2a6305e 100644 (file)
@@ -8,7 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gakusei/pobox-${PV}.tar.bz2;name=archive \
            http://www.vanille.de/mirror/pbserver-${PV}.tar.gz;name=pbserver \
            file://OpenPOBox-1.25.diff \
            file://remove-local-includes.patch \
-           file://unicode.patch;apply=false \
+           file://unicode.patch;patchdir=${WORKDIR}/pbserver \
            file://pbserver.sh"
 
 S = "${WORKDIR}/OpenPOBox"
@@ -21,10 +21,6 @@ INITSCRIPT_PARAMS = "start 99 5 . stop 01 0 ."
 EXTRA_OECONF = "--enable-lookup"
 PARALLEL_MAKE = ""
 
-do_configure_prepend() {
-       (cd ${WORKDIR} ; patch -p0 -i unicode.patch)
-}
-
 do_compile() {
        oe_runmake
        cp ${S}/dict/data/fugodic ${WORKDIR}/pbserver/fugodic.txt