summaryrefslogtreecommitdiff
path: root/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-04-09 02:08:59 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-04-09 02:08:59 +0000
commit7e575053f83622b237f265013fc24112826c70d5 (patch)
tree2a44d0aaccb709ae71f04edfb5e6fd33c799ea7d /math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
parent- Update to version 0.2.b1. (diff)
- Update to 1.0.4
PR: ports/122492 Submitted by: dikshie <dikshie at lapi.itb.ac.id> Approved by: Li-Lun "Leland" Wang <llwang at infor.org> (maintainer)
Notes
Notes: svn path=/head/; revision=210901
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__.py23
1 files changed, 5 insertions, 18 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
index fa1380656164..9fc8e28faf26 100644
--- a/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
+++ b/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
@@ -1,24 +1,11 @@
---- numpy/distutils/fcompiler/__init__.py.orig 2007-08-20 21:00:55.000000000 -0500
-+++ numpy/distutils/fcompiler/__init__.py 2007-08-27 19:26:14.000000000 -0500
-@@ -78,7 +78,7 @@
- 'ranlib' : None,
- }
+--- numpy/distutils/fcompiler/__init__.py.orig 2008-04-06 23:03:15.000000000 +0900
++++ numpy/distutils/fcompiler/__init__.py 2008-04-06 23:08:56.000000000 +0900
+@@ -173,7 +173,7 @@
+ # gnu95 compiler type when there are F90 sources.
+ suggested_f90_compiler = None
- compile_switch = "-c"
+ compile_switch = "-c -fPIC"
object_switch = "-o " # Ending space matters! It will be stripped
# but if it is missing then object_switch
# will be prefixed to object file name by
-@@ -278,11 +278,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)