summaryrefslogtreecommitdiff
path: root/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py')
-rw-r--r--math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py b/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
new file mode 100644
index 000000000000..63df1556e8d5
--- /dev/null
+++ b/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
@@ -0,0 +1,15 @@
+--- numpy/distutils/fcompiler/__init__.py.orig Tue Oct 3 20:39:58 2006
++++ numpy/distutils/fcompiler/__init__.py Tue Oct 3 22:43:18 2006
+@@ -268,11 +268,7 @@
+ f90 = self.__get_cmd('compiler_f90','F90',(conf,'f90exec'))
+ # Temporarily setting f77,f90 compilers so that
+ # version_cmd can use their executables.
+- if f77:
+- self.set_executables(compiler_f77=[f77])
+- if f90:
+- self.set_executables(compiler_f90=[f90])
+-
++ # If you do that, --f77exec and --f90exec break -db
+ # Must set version_cmd before others as self.get_flags*
+ # methods may call self.get_version.
+ vers_cmd = self.__get_cmd(self.get_version_cmd)