From cb766f59b12ec4f9680121d9f65c98d0b41ab814 Mon Sep 17 00:00:00 2001 From: Michael Scheidell Date: Thu, 26 Jan 2012 00:52:43 +0000 Subject: - Support for -Wl,rpath= in f2py, now passed by bsd.gcc.mk - Fix build for comms/wsjt PR: ports/164479 Submitted by: maintainer Approved by: gabor (mentor) --- math/py-numpy/files/patch-numpy-f2py-f2py2e.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 math/py-numpy/files/patch-numpy-f2py-f2py2e.py (limited to 'math/py-numpy/files/patch-numpy-f2py-f2py2e.py') diff --git a/math/py-numpy/files/patch-numpy-f2py-f2py2e.py b/math/py-numpy/files/patch-numpy-f2py-f2py2e.py new file mode 100644 index 000000000000..0f7f6e96427c --- /dev/null +++ b/math/py-numpy/files/patch-numpy-f2py-f2py2e.py @@ -0,0 +1,18 @@ +--- numpy/f2py/f2py2e.py.orig 2012-01-25 06:59:14.651304791 -0600 ++++ numpy/f2py/f2py2e.py 2012-01-25 07:00:58.475075133 -0600 +@@ -514,6 +514,7 @@ + include_dirs, sources = filter_files('-I','',sources,remove_prefix=1) + library_dirs, sources = filter_files('-L','',sources,remove_prefix=1) + libraries, sources = filter_files('-l','',sources,remove_prefix=1) ++ extra_link_args, sources = filter_files('-Wl,','',sources,remove_prefix=0) + undef_macros, sources = filter_files('-U','',sources,remove_prefix=1) + define_macros, sources = filter_files('-D','',sources,remove_prefix=1) + using_numarray = 0 +@@ -549,6 +550,7 @@ + 'undef_macros': undef_macros, + 'extra_objects': extra_objects, + 'f2py_options': f2py_flags, ++ 'extra_link_args': extra_link_args, + } + + if sysinfo_flags: \ No newline at end of file -- cgit v1.2.3