anchor.diff:  	metapkg_rdepends = []
   	packages = bb.data.getVar('PACKAGES', d, 1).split()
   	for pkg in packages[1:]:
  -		if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale") and not pkg.count("abiword-doc"):
  -			print "Modifying ", pkg
  -			metapkg_rdepends.append(pkg)
  +                if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale") and not pkg.count("abiword-doc"):
  +                	print "Modifying ", pkg
  +                	metapkg_rdepends.append(pkg)
   	bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
   	bb.data.setVar('DESCRIPTION_' + metapkg, 'abiword-plugin meta package', d)
   	packages.append(metapkg)
   	bb.data.setVar('PACKAGES', ' '.join(packages), d)
   }
  -
  -# don't steal /usr/lib/libabiword-2.8.so from ${PN}
  -# in this case it's needed in ${PN}
  -FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/abiword*.la ${libdir}/abiword-${SHRT_VER}/plugins/*.la ${libdir}/libabiword*.la"
  -FILES_${PN}-dbg += "${libdir}/abiword-${SHRT_VER}/plugins/.debug"
  -FILES_${PN}-doc += "${datadir}/abiword-*/readme*"
  
positive.code:                  --with-libwmf-config=${STAGING_DIR} \
  "
  
  do_configure() {
      install -m 0755 ${WORKDIR}/autogen-common.sh ${S}/autogen-common.sh
      cd ${S}
  
negative.code: SECTION = "x11/office"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20"
  DEPENDS     = "perl-native wv libgsf libglade libfribidi jpeg libpng libxml2 \
                 librsvg loudmouth libwmf-native gtkmathview asio"
  RDEPENDS_${PN}    = "glibc-gconv-ibm850 glibc-gconv-cp1252 \
                 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
  RCONFLICTS_${PN} = "${PN}-embedded"
  
  SRC_URI = "http://www.abisource.com/downloads/${BPN}/${PV}/source/${BP}.tar.gz \
             file://autogen-common.sh \
             file://nodolt.patch \
             file://fix.no.undefined.param.patch \
  