You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
3c725fe7a4
+ 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
18 lines
566 B
Diff
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'
|