3
0
Fork 0
forked from mirrors/nixpkgs

openssl: remove some cruft

This commit is contained in:
Peter Simons 2015-06-16 14:17:25 +02:00
parent a4178b1b8a
commit b333a2cb19

View file

@ -42,10 +42,6 @@ stdenv.mkDerivation {
configureFlags = "shared --libdir=lib --openssldir=etc/ssl" + configureFlags = "shared --libdir=lib --openssldir=etc/ssl" +
stdenv.lib.optionalString withCryptodev " -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"; stdenv.lib.optionalString withCryptodev " -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS";
# CYGXXX: used to be set for cygwin with optionalString. Not needed
# anymore but kept to prevent rebuild.
preBuild = "";
makeFlags = "MANDIR=$(out)/share/man"; makeFlags = "MANDIR=$(out)/share/man";
# Parallel building is broken in OpenSSL. # Parallel building is broken in OpenSSL.
@ -56,12 +52,12 @@ stdenv.mkDerivation {
# If we're building dynamic libraries, then don't install static # If we're building dynamic libraries, then don't install static
# libraries. # libraries.
if [ -n "$(echo $out/lib/*.so $out/lib/*.dylib)" ]; then if [ -n "$(echo $out/lib/*.so $out/lib/*.dylib)" ]; then
rm $out/lib/*.a rm "$out/lib/"*.a
fi fi
# remove dependency on Perl at runtime # remove dependency on Perl at runtime
rm -rf $out/etc/ssl/misc rm -rf $out/etc/ssl/misc
''; # */ '';
crossAttrs = { crossAttrs = {
patches = patchesCross true; patches = patchesCross true;