libffi on FreeBSD: remove unsupported "-r" option to ln

Done without changing hashes on other platforms.
Sometimes I forget that GNU's not UNIX.
This commit is contained in:
Vladimír Čunát 2013-09-15 07:55:19 +02:00
parent 1ac7ba823d
commit 3036e86284

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
postInstall =
# Install headers in the right place.
'' ln -srv "$out/lib/"libffi*/include "$out/include"
'' ln -s${if stdenv.isFreeBSD then "" else "r"}v "$out/lib/"libffi*/include "$out/include"
'';
meta = {