anchor.diff:  #   patch file for cross-compiling.
   SRC_URI += "file://Makefile_debian.patch"
   
  -DEPENDS += "libjson-perl heimdal-native db libxt e2fsprogs"
  -
  +DEPENDS += "libjson-perl heimdal-native db e2fsprogs \
  +	${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxt', '', d)}"
  +
  +# "have_x=yes" only x11 is enable in DISTRO_FEATURES
  +CACHED_CONFIGUREVARS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'ac_cv_have_x="have_x=no"', d)}"
   EXTRA_OECONF += "\
   	--libexecdir="${sbindir}" \
   	--prefix="${prefix}" \
  
positive.code: 	mv ${D}${sbindir}/${BPN}/asn1_compile ${D}${bindir}
  	mv ${D}${sbindir}/${BPN}/asn1_print ${D}${bindir}
  	mv ${D}${sbindir}/${BPN}/slc ${D}${bindir}
  
  	# install heimdal-servers package
  	install -d ${D}${libdir}/${BPN}-servers
  
negative.code: 	mv ${D}${sbindir}/kfd ${D}${libdir}/${BPN}-servers
  
  	# install heimdal-servers-x package
  	if [ "${@base_contains('DISTRO_FEATURES', 'x11', '', 'x11', d)}" = "" ] ; then
  		mv ${D}${sbindir}/kxd ${D}${libdir}/${BPN}-servers
  	fi
  }
  
  PACKAGES =+ "${BPN}-servers-x ${BPN}-servers ${BPN}-multidev \
  		${BPN}-clients-x ${BPN}-clients ${BPN}-kdc ${BPN}-kcm"
  
  FILES_${BPN}-clients-x += "\
  