anchor.diff:  HOMEPAGE="http://slim.berlios.de"
   LICENSE = "GPL"
   
  -PR = "r1"
  +PR = "r2"
   
   inherit update-rc.d
   
  -DEPEND="virtual/x11 libxmu libpng libjpeg libpam freetype"
  +DEPEND="virtual/x11 libxmu libpng libjpeg libpam freetype sessreg"
   
   RDEPEND="${DEPEND} perl libpam-meta xauth"
       
  
positive.code: SRC_URI=" \
    http://download.berlios.de/${PN}/${P}.tar.gz \
    file://fix-manpage.patch;patch=1 \
  #  file://slim-conf.patch;patch=1 \
    file://ftbfs_gcc_4.4.patch;patch=1 \
    file://Makefile.patch;patch=1 \
    file://xauth_secret_support.patch;patch=1 \
  
negative.code:   LDFLAGS+=-lpam \
  "
  
  do_compile_prepend() {
    cp -pP ${WORKDIR}/Makefile.oe ${S}/Makefile
  }
  
  do_install() {
    oe_runmake install 
  