anchor.diff:  
   export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}"
   export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}"
  +
  +export HOST_SYS
  +export BUILD_SYS
   
   do_configure_append() {
   	perl_version=${PERLVERSION}
  
positive.code:     file://libprelude-fix-uid-gid-conflicting-types.patch \
  "
  
  inherit autotools-brokensep gettext cpan-base binconfig pkgconfig perlnative
  
  EXTRA_OECONF = "--with-perl-installdirs=vendor --without-python"
  
  # Currently, we don't have ruby recipe,
  # disable checking for ruby path to prevent using ruby from host system
  
negative.code: 	rm -f bindings/low-level/perl/Prelude.c
  }
  
  # Follow debian/rules, build python modules
  PYFLAGS = "PYTHON=python${PYTHON_BASEVERSION} \
             PYTHON_VERSION=${PYTHON_BASEVERSION} \
             _capng_la_LIBADD=\"-lpython${PYTHON_BASEVERSION}\""
  do_compile_append() {
  	# Compile python modules
  	for i in bindings/python bindings/low-level/python; do
  		oe_runmake -C $i clean
  		oe_runmake -C $i ${PYFLAGS}
  	done
  }
  
  do_install_append() {
  	# Install python modules
  	for i in bindings/python bindings/low-level/python; do
  		oe_runmake -C $i ${PYFLAGS} DESTDIR=${D} install
  	done
  	find ${D}${PYTHON_SITEPACKAGES_DIR} -name "*.pyc" -delete
  
  	# Remove build path
  	sed -i "s:${WORKDIR}/image::" ${D}${libdir}/perl5/*/auto/Prelude/.packlist
  	sed -i "s:${WORKDIR}/image::" ${D}${libdir}/perl5/*/auto/PreludeEasy/.packlist
  