about summary refs log tree commit diff
path: root/pkgs/development/libraries/science/math/atlas
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2009-05-21 17:39:17 +0000
committerMarc Weber <marco-oweber@gmx.de>2009-05-21 17:39:17 +0000
commit94ba737704e8097142e24fd7fbe88facbfcfa729 (patch)
treed043d73d505277bd4b8c3234354fccb353c84179 /pkgs/development/libraries/science/math/atlas
parent8d3c1ea9e2f875d5132463d69e326ca00354c6cd (diff)
downloadnixlib-94ba737704e8097142e24fd7fbe88facbfcfa729.tar
nixlib-94ba737704e8097142e24fd7fbe88facbfcfa729.tar.gz
nixlib-94ba737704e8097142e24fd7fbe88facbfcfa729.tar.bz2
nixlib-94ba737704e8097142e24fd7fbe88facbfcfa729.tar.lz
nixlib-94ba737704e8097142e24fd7fbe88facbfcfa729.tar.xz
nixlib-94ba737704e8097142e24fd7fbe88facbfcfa729.tar.zst
nixlib-94ba737704e8097142e24fd7fbe88facbfcfa729.zip
fix atlas by Tobias Neumann
svn path=/nixpkgs/trunk/; revision=15685
Diffstat (limited to 'pkgs/development/libraries/science/math/atlas')
-rw-r--r--pkgs/development/libraries/science/math/atlas/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/libraries/science/math/atlas/default.nix b/pkgs/development/libraries/science/math/atlas/default.nix
index b1025a32ff46..5d9167d00ecd 100644
--- a/pkgs/development/libraries/science/math/atlas/default.nix
+++ b/pkgs/development/libraries/science/math/atlas/default.nix
@@ -1,16 +1,17 @@
 args: with args;
 
 stdenv.mkDerivation {
-  name = "atlas-3.9.9";
+  name = "atlas-3.9.11";
   src = fetchurl {
-    url = http://kent.dl.sourceforge.net/sourceforge/math-atlas/atlas3.9.9.tar.bz2;
-    sha256 = "0apbiqr0hlb38mrnlij0szsraxvxqfqainmp59xqj94pndx5s3yk";
+    url = mirror://sf/math-atlas/atlas3.9.11.tar.bz2;
+    sha256 = "d91e593a772cf540ff693f7d8c43d10c3037eb334c5c77572ea1b6a64a0b9677";
   };
 
   # configure outside of the source directory
   preConfigure = '' mkdir build; cd build; configureScript=../configure; '';
 
-  NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
+  # the manual says you should pass -fPIC as configure arg .. It works
+  configureFlags = "-Fa alg -fPIC";
 
   buildInputs = [gfortran];