Fixing the builds of apr, apache, subversion and friends when having enabled the ldap support.
svn path=/nixpkgs/trunk/; revision=26764
This commit is contained in:
parent
450ef3730c
commit
ccd2316471
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
${if ldapSupport then "--with-ldap" else ""}
|
${if ldapSupport then "--with-ldap" else ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = if ldapSupport then [ openldap ] else [];
|
propagatedBuildInputs = stdenv.lib.optional ldapSupport openldap;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit bdbSupport;
|
inherit bdbSupport;
|
||||||
|
|
|
@ -17,8 +17,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [perl apr aprutil pcre] ++
|
buildInputs = [perl apr aprutil pcre] ++
|
||||||
stdenv.lib.optional sslSupport openssl ++
|
stdenv.lib.optional sslSupport openssl;
|
||||||
stdenv.lib.optional ldapSupport openldap;
|
|
||||||
|
|
||||||
# An apr-util header file includes an apr header file
|
# An apr-util header file includes an apr header file
|
||||||
# through #include "" (quotes)
|
# through #include "" (quotes)
|
||||||
|
|
Loading…
Reference in New Issue