openldap: support building without cyrus-sasl and tls

This commit is contained in:
Florian Friesdorf 2013-03-19 19:14:40 +01:00
parent 4ab9c00850
commit 1c86db4bc3

View File

@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "01h6zq6zki9b1k07pbyps5vxj9w39ybzjvkyz5h9xk09dd54raza";
};
buildInputs = [openssl cyrus_sasl db4 groff];
buildInputs = [ openssl cyrus_sasl db4 groff ];
configureFlags =
[ "--enable-overlays"
] ++ stdenv.lib.optional (openssl == null) "--without-tls"
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl";
dontPatchELF = 1; # !!!