anchor.diff:  export STAGING_LIBDIR
   export STAGING_INCDIR
   
  +# Env var which tells perl if it should use host (no) or target (yes) settings
  +export PERLCONFIGTARGET = "${@is_target(d)}"
  +export PERL_INC = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}/CORE"
  +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)}"
  +
   do_configure() {
   	#fix the pkglib problem with newer automake
   	#perl
  
positive.code: 
  S = "${WORKDIR}/git"
  
  inherit autotools gettext pythonnative perlnative python-dir
  
  BBCLASSEXTEND = "native"
  
  
negative.code: 
  	autotools_do_configure
  
  	#modify python sitepkg
  	#remove the dependency of perl-shared:Makefile
  	#or perl-shared/Makefile will be regenerated
  