diff options
author | Diane Bruce <db@FreeBSD.org> | 2007-09-02 20:03:45 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2007-09-02 20:03:45 +0000 |
commit | 47e4e30358472376731559136fa9b8f16dfe3923 (patch) | |
tree | aeaa123554c4e461347f84e7248320b2e3788d32 /math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py | |
parent | Update to 138 (diff) |
- I added -fPIC to compile_switch to work around build of fftpack in scipy
on amd64.
A better fix would be to set pic_flags instead, and have scipy build a
shared object for dfftpack instead a static archive, but I didn't figure
out how. [1]
- Pass maintainership to llwang@infor.org
PR: ports/112429 [1]
Submitted by: Li-Lun "Leland" Wang <llwang@infor.org> (new maintainer)
Notes
Notes:
svn path=/head/; revision=198663
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__.py | 15 |
1 files changed, 12 insertions, 3 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 9c42980d29ad..fa1380656164 100644 --- a/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py +++ b/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py @@ -1,6 +1,15 @@ ---- numpy/distutils/fcompiler/__init__.py.orig Wed Oct 11 22:28:42 2006 -+++ numpy/distutils/fcompiler/__init__.py Sat Dec 9 22:51:47 2006 -@@ -273,11 +273,7 @@ +--- 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, + } + +- 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. |