openssl: Install config files in $out/etc/ssl in $out/ssl

This commit is contained in:
Eelco Dolstra 2012-11-23 17:24:35 +01:00
parent 1620307488
commit e5497ca043

View File

@ -55,11 +55,14 @@ stdenv.mkDerivation {
configureScript =
if stdenv.system == "x86_64-darwin" then "./Configure darwin64-x86_64-cc" else "./config";
configureFlags = "shared --libdir=lib" +
configureFlags = "shared --libdir=lib --openssldir=etc/ssl" +
stdenv.lib.optionalString withCryptodev " -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS";
makeFlags = "MANDIR=$(out)/share/man";
# Parallel building is broken in OpenSSL.
#enableParallelBuilding = true;
postInstall =
''
# If we're building dynamic libraries, then don't install static