anchor.diff:      if [ -z "${@base_contains('PACKAGECONFIG', 'tiff', 'tiff', '', d)}" ]; then
           sed -i -e '/^HAVE_LIBTIFF/s/:=.*$/:= no/' ${S}/GNUmakefile
       fi
  +    if [ -z "${@base_contains('PACKAGECONFIG', 'motif', 'motif', '', d)}" ]; then
  +        sed -i -e '/^HAVE_MOTIF/s/:=.*$/:= no/' ${S}/GNUmakefile
  +    fi
   
       oe_runmake
   }
  
positive.code: DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif curl"
  
  SRC_URI = "git://git.kraxel.org/fbida"
  SRCREV = "cb0ce5fa5f42bfaea4f8f326bcd8914dd14e782d"
  PV = "2.09+git${SRCPV}"
  S = "${WORKDIR}/git"
  
  
negative.code: PACKAGECONFIG[gif] = ",,libungif"
  PACKAGECONFIG[png] = ",,libpng"
  PACKAGECONFIG[tiff] = ",,tiff"
  PACKAGECONFIG[motif] = ",,libx11 libxext libxpm libxt openmotif"
  
  do_compile() {
      sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk
      sed -i -e 's: cpp: ${TARGET_PREFIX}cpp -I${STAGING_INCDIR}:' ${S}/GNUmakefile
  
      # Be sure to respect preferences (force to "no")
      # Also avoid issues when ${BUILD_ARCH} == ${HOST_ARCH}
  