anchor.diff:  
   DEPENDS = "flex flex-native"
   
  -PR = "r3"
  +PR = "r4"
   
   # The project is actually called Linux-PAM but that gives
   # a bad OE package name because of the upper case characters
  
positive.code: # maintain the pam default layout
  EXTRA_OECONF += " --includedir=${includedir}/security"
  
  PACKAGES_DYNAMIC += " pam-plugin-*"
  python populate_packages_prepend () {
  	import os.path
  
  	pam_libdir    = bb.data.expand('${libdir}/security', d)
  	pam_libdirdebug = bb.data.expand('${libdir}/security/.debug', d)
  	pam_filterdir = bb.data.expand('${libdir}/security/pam_filter', d)
  	do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='')
  
negative.code: SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/pam/library/${p}.tar.bz2 \
             file://pam-nodocs.patch;patch=1 "
  
  SRC_URI_append_libc-uclibc = "file://pam-disable-nis-on-uclibc.patch;patch=1"
  
  inherit autotools
  
  