[153885] trunk/dports/python/py-numpy

michaelld at macports.org michaelld at macports.org
Sat Oct 15 01:27:21 CEST 2016


Revision: 153885
          https://trac.macports.org/changeset/153885
Author:   michaelld at macports.org
Date:     2016-10-14 16:27:21 -0700 (Fri, 14 Oct 2016)
Log Message:
-----------
py*-numpy: fix rpath pass-through to ld setting, to work on most modern compilers; addresses tickets #51250 and #51419.

Modified Paths:
--------------
    trunk/dports/python/py-numpy/Portfile

Added Paths:
-----------
    trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler_gnu.py.diff

Modified: trunk/dports/python/py-numpy/Portfile
===================================================================
--- trunk/dports/python/py-numpy/Portfile	2016-10-14 21:43:14 UTC (rev 153884)
+++ trunk/dports/python/py-numpy/Portfile	2016-10-14 23:27:21 UTC (rev 153885)
@@ -7,6 +7,7 @@
 PortGroup               compilers 1.0
 
 github.setup            numpy numpy 1.11.2 v
+revision                1
 name                    py-numpy
 
 categories-append       math
@@ -44,7 +45,8 @@
 
     patchfiles              patch-f2py_setup.py.diff \
                             patch-fcompiler_g95.diff \
-                            patch-numpy_core_setup.py.diff
+                            patch-numpy_core_setup.py.diff \
+                            patch-numpy_distutils_fcompiler_gnu.py.diff
 
     depends_lib-append      port:fftw-3 \
                             port:py${python.version}-nose \

Added: trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler_gnu.py.diff
===================================================================
--- trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler_gnu.py.diff	                        (rev 0)
+++ trunk/dports/python/py-numpy/files/patch-numpy_distutils_fcompiler_gnu.py.diff	2016-10-14 23:27:21 UTC (rev 153885)
@@ -0,0 +1,11 @@
+--- numpy/distutils/fcompiler/gnu.py.orig
++++ numpy/distutils/fcompiler/gnu.py
+@@ -230,7 +230,7 @@
+         return []
+ 
+     def runtime_library_dir_option(self, dir):
+-        return '-Wl,-rpath="%s"' % dir
++        return '-Wl,-rpath -Wl,"%s"' % dir
+ 
+ class Gnu95FCompiler(GnuFCompiler):
+     compiler_type = 'gnu95'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161014/f9a9588b/attachment-0002.html>


More information about the macports-changes mailing list