* Fixed an impurity in libcap that causes it to fail on non-NixOS

systems: the makefile determines whether to build with PAM support
  by doing

    PAM_CAP ?= $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)


svn path=/nixpkgs/trunk/; revision=11285
This commit is contained in:
Eelco Dolstra 2008-03-26 09:37:09 +00:00
parent 26e37033ba
commit b5da9e1d55

View File

@ -13,6 +13,6 @@ stdenv.mkDerivation {
buildInputs = [attr];
preBuild = ''
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man)
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man PAM_CAP=no)
'';
}