mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
GNU MPFR: Work around a FreeBSD bug.
svn path=/nixpkgs/trunk/; revision=32884
This commit is contained in:
parent
7390600a6e
commit
66403757db
|
@ -1,6 +1,6 @@
|
|||
{stdenv, fetchurl, gmp}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "mpfr-3.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -36,3 +36,15 @@ stdenv.mkDerivation rec {
|
|||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
(stdenv.lib.optionalAttrs stdenv.isFreeBSD {
|
||||
/* Work around a FreeBSD bug that otherwise leads to segfaults in
|
||||
the test suite:
|
||||
http://hydra.bordeaux.inria.fr/build/34862
|
||||
http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00015.html
|
||||
http://www.freebsd.org/cgi/query-pr.cgi?pr=161344
|
||||
*/
|
||||
configureFlags = [ "--disable-thread-safe" ];
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue