diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-02-24 11:15:15 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-02-24 11:15:15 +0000 |
commit | ddb61b2599ecac092ab0c28ed946d89e536086e9 (patch) | |
tree | fb25873b6d678e6b3d614f7fc10d7851cf10d2c1 /math/py-numpy | |
parent | bade912339546fcd29e4c157698464c9b2d84e69 (diff) |
Notes
Diffstat (limited to 'math/py-numpy')
-rw-r--r-- | math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py b/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py index bfcc57bc9145..3e7d236ddb7a 100644 --- a/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py +++ b/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py @@ -1,5 +1,5 @@ ---- numpy/distutils/fcompiler/gnu.py.orig 2007-11-07 16:05:14.000000000 -0600 -+++ numpy/distutils/fcompiler/gnu.py 2008-04-07 13:54:56.000000000 -0500 +--- gnu.py.orig 2013-10-30 22:31:40.000000000 +0400 ++++ gnu.py 2014-02-24 15:11:58.000000000 +0400 @@ -66,7 +66,7 @@ # Redhat: GNU Fortran (GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) # GNU Fortran (GCC) 3.4.2 (mingw-special) @@ -18,7 +18,16 @@ suggested_f90_compiler = 'gnu95' -@@ -249,7 +249,7 @@ +@@ -103,6 +103,8 @@ + + def get_flags_linker_so(self): + opt = self.linker_so[1:] ++ if 'FFLAGS' in os.environ: ++ opt.append(os.environ['FFLAGS']) + if sys.platform=='darwin': + target = os.environ.get('MACOSX_DEPLOYMENT_TARGET', None) + # If MACOSX_DEPLOYMENT_TARGET is set, we simply trust the value +@@ -249,7 +251,7 @@ # GNU Fortran 95 (GCC) 4.2.0 20060218 (experimental) # GNU Fortran (GCC) 4.3.0 20070316 (experimental) |