ports/164479: [maintainer] math/numpy support for -Wl, rpath= in f2py
Li-Lun Wang
llwang at infor.org
Wed Jan 25 13:30:12 UTC 2012
>Number: 164479
>Category: ports
>Synopsis: [maintainer] math/numpy support for -Wl,rpath= in f2py
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 25 13:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Li-Lun Wang
>Release: 8.2-STABLE
>Organization:
>Environment:
FreeBSD ll-zfs 8.2-STABLE FreeBSD 8.2-STABLE #6: Sat Jul 23 12:53:04 CDT 2011 root at ll-zfs:/usr/obj/usr/src/sys/C2D amd64
>Description:
* Support for -Wl,rpath= in f2py, now passed by bsd.gcc.mk
* Fix build for comms/wsjt
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -urN py-numpy.orig/Makefile py-numpy/Makefile
--- py-numpy.orig/Makefile 2011-12-09 02:01:13.000000000 -0600
+++ py-numpy/Makefile 2012-01-25 07:03:47.019449382 -0600
@@ -7,6 +7,7 @@
PORTNAME= numpy
PORTVERSION= 1.6.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= math python
MASTER_SITES= http://docs.scipy.org/doc/${DISTNAME:C/\..$/.0/}/:doc \
diff -urN py-numpy.orig/files/patch-numpy-f2py-f2py2e.py py-numpy/files/patch-numpy-f2py-f2py2e.py
--- py-numpy.orig/files/patch-numpy-f2py-f2py2e.py 1969-12-31 18:00:00.000000000 -0600
+++ py-numpy/files/patch-numpy-f2py-f2py2e.py 2012-01-25 07:20:02.201673718 -0600
@@ -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:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list