forked from mirrors/nixpkgs
* 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:
parent
26e37033ba
commit
b5da9e1d55
|
@ -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)
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue