Files
macports-ports/python/py-numpy/files/patch-numpy_distutils_fcompiler_gnu.py.diff
Michael Dickens 3c725fe7a4 py-numpy: update to 1.16.1
+ move f2py patch to be just for legacy NumPy install;
+ disable gnu.py patch since it seems to break dependent installs (e.g., SciPy).

Closes: https://trac.macports.org/ticket/58007
2019-02-13 11:06:39 -05:00

18 lines
566 B
Diff

--- numpy/distutils/fcompiler/gnu.py.orig
+++ numpy/distutils/fcompiler/gnu.py
@@ -265,13 +265,7 @@
return []
def runtime_library_dir_option(self, dir):
- if sys.platform[:3] == 'aix' or sys.platform == 'win32':
- # Linux/Solaris/Unix support RPATH, Windows and AIX do not
- raise NotImplementedError
-
- sep = ',' if sys.platform == 'darwin' else '='
- return '-Wl,-rpath%s"%s"' % (sep, dir)
-
+ return '-Wl,-rpath -Wl,"%s"' % dir
class Gnu95FCompiler(GnuFCompiler):
compiler_type = 'gnu95'