From 47e4e30358472376731559136fa9b8f16dfe3923 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Sun, 2 Sep 2007 20:03:45 +0000 Subject: - 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 (new maintainer) --- .../files/patch-numpy-distutils-fcompiler-__init__.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py') 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. -- cgit v1.2.3