libcap: with pam, just set prefix and lib

svn path=/nixpkgs/branches/stdenv-updates/; revision=23960
This commit is contained in:
Yury G. Kudryashov 2010-09-27 08:48:28 +00:00
parent 2221432acd
commit c911c64f9b

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, attr, perl}:
{stdenv, fetchurl, attr, perl, pam}:
assert stdenv.isLinux;
@ -11,9 +11,7 @@ stdenv.mkDerivation {
};
buildNativeInputs = [perl];
buildInputs = [attr];
buildInputs = [attr pam];
preBuild = ''
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man PAM_CAP=no)
'';
makeFlags = "PAM_CAP=yes lib=lib prefix=$(out)";
}