anchor.diff:      ];
   
       prePatch = ''
  -      ### common
         substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2man" "${perl}/bin/pod2man"
         substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2html" "${perl}/bin/pod2html"
         substituteInPlace ./common/Make.rules --replace "/usr/include/linux/capability.h" "${glibc}/include/linux/capability.h"
   
  -      ### libapparmor
         substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${glibc}/include/netinet/in.h"
         substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${glibc}/include/netinet/in.h"
         '';
   
       buildPhase = ''
  -      ### libapparmor
         cd ./libraries/libapparmor
         ./autogen.sh
         ./configure --prefix="$out" --with-python
  
positive.code:     ];
  
      prePatch = ''
        ### common
        substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2man" "${perl}/bin/pod2man"
        substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2html" "${perl}/bin/pod2html"
        substituteInPlace ./common/Make.rules --replace "/usr/include/linux/capability.h" "${glibc}/include/linux/capability.h"
  
        ### apparmor-parser
        substituteInPlace ./parser/Makefile --replace "/usr/bin/bison" "${bison}/bin/bison"
        substituteInPlace ./parser/Makefile --replace "/usr/bin/flex" "${flex}/bin/flex"
        substituteInPlace ./parser/Makefile --replace "/usr/include/linux/capability.h" "${glibc}/include/linux/capability.h"
  
negative.code:     ];
  
      prePatch = ''
        substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2man" "${perl}/bin/pod2man"
        substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2html" "${perl}/bin/pod2html"
        substituteInPlace ./common/Make.rules --replace "/usr/include/linux/capability.h" "${glibc}/include/linux/capability.h"
  