openssl: fixup after merge
This commit is contained in:
parent
b1a38cd40d
commit
9fbb83b467
@ -43,6 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
"-DUSE_CRYPTODEV_DIGESTS"
|
"-DUSE_CRYPTODEV_DIGESTS"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
makeFlags = [ "MANDIR=$(man)/share/man" ];
|
||||||
|
|
||||||
# Parallel building is broken in OpenSSL.
|
# Parallel building is broken in OpenSSL.
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
@ -54,24 +55,18 @@ stdenv.mkDerivation rec {
|
|||||||
rm "$out/lib/"*.a
|
rm "$out/lib/"*.a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $bin
|
mkdir -p $bin
|
||||||
mv $out/bin $bin/
|
mv $out/bin $bin/
|
||||||
|
|
||||||
rm -rf $out/etc/ssl/misc
|
mkdir $dev
|
||||||
|
mv $out/include $dev/
|
||||||
mkdir $dev
|
|
||||||
mv $out/include $dev/
|
|
||||||
|
|
||||||
# OpenSSL installs readonly files, which otherwise we can't strip.
|
|
||||||
# FIXME: Can remove this after the next stdenv merge.
|
|
||||||
chmod -R +w $out
|
|
||||||
|
|
||||||
# remove dependency on Perl at runtime
|
# remove dependency on Perl at runtime
|
||||||
rm -r $out/etc/ssl/misc $out/bin/c_rehash
|
rm -r $out/etc/ssl/misc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
# Check to make sure we don't depend on perl
|
# Check to make sure the main output doesn't depend on perl
|
||||||
if grep -r '${perl}' $out; then
|
if grep -r '${perl}' $out; then
|
||||||
echo "Found an erroneous dependency on perl ^^^" >&2
|
echo "Found an erroneous dependency on perl ^^^" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user