Ticket #51250: patch-numpy_rpath.diff

File patch-numpy_rpath.diff, 1.3 KB (added by michaelld (Michael Dickens), 8 years ago)
  • Portfile

     
    77PortGroup               compilers 1.0
    88
    99github.setup            numpy numpy 1.11.2 v
     10revision                1
    1011name                    py-numpy
    1112
    1213categories-append       math
     
    4445
    4546    patchfiles              patch-f2py_setup.py.diff \
    4647                            patch-fcompiler_g95.diff \
    47                             patch-numpy_core_setup.py.diff
     48                            patch-numpy_core_setup.py.diff \
     49                            patch-numpy_distutils_fcompiler_gnu.py.diff
    4850
    4951    depends_lib-append      port:fftw-3 \
    5052                            port:py${python.version}-nose \
  • files/patch-numpy_distutils_fcompiler_gnu.py.diff

     
     1--- numpy/distutils/fcompiler/gnu.py.orig
     2+++ numpy/distutils/fcompiler/gnu.py
     3@@ -230,7 +230,7 @@
     4         return []
     5 
     6     def runtime_library_dir_option(self, dir):
     7-        return '-Wl,-rpath="%s"' % dir
     8+        return '-Wl,-rpath -Wl,"%s"' % dir
     9 
     10 class Gnu95FCompiler(GnuFCompiler):
     11     compiler_type = 'gnu95'