* 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:
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [attr];
|
buildInputs = [attr];
|
||||||
|
|
||||||
preBuild = ''
|
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)
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user