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:     autotools_do_configure
  }
  
  FILES_${PN} 			+= "${libdir}/libabiword-*.so ${datadir}/mime-info ${datadir}/abiword-${SHRT_VER}/certs ${datadir}/abiword-${SHRT_VER}/ui ${datadir}/abiword-${SHRT_VER}/xsl* ${datadir}/abiword-${SHRT_VER}/mime-info ${datadir}/abiword-${SHRT_VER}/Pr*.xml"
  FILES_abiword-strings           += "${datadir}/abiword-${SHRT_VER}/strings"
  FILES_abiword-systemprofiles    += "${datadir}/abiword-${SHRT_VER}/system.profile*"
  
  PACKAGES_DYNAMIC = "abiword-meta abiword-plugin-*"
  
  python populate_packages_prepend () {
  	abiword_libdir    = bb.data.expand('${libdir}/abiword-2.8/plugins', d)
  
negative.code:                  --with-libwmf-config=${STAGING_DIR} \
  "
  
  # AbiWord configure.ac does not play nicely with autoreconf
  # so use the autogen.sh script that comes with AbiWord
  do_configure() {
      install -m 0755 ${WORKDIR}/autogen-common.sh ${S}/autogen-common.sh
      cd ${S}
  