[145736] trunk/dports/python/py-numpy
michaelld at macports.org
michaelld at macports.org
Mon Feb 15 07:41:34 PST 2016
Revision: 145736
https://trac.macports.org/changeset/145736
Author: michaelld at macports.org
Date: 2016-02-15 07:41:34 -0800 (Mon, 15 Feb 2016)
Log Message:
-----------
py*-numpy: add patch to fix building on Mac OS X 10.4 Tiger, per ticket #50344.
Modified Paths:
--------------
trunk/dports/python/py-numpy/Portfile
Added Paths:
-----------
trunk/dports/python/py-numpy/files/patch-Tiger-without-dflcn-header.diff
Modified: trunk/dports/python/py-numpy/Portfile
===================================================================
--- trunk/dports/python/py-numpy/Portfile 2016-02-15 14:52:27 UTC (rev 145735)
+++ trunk/dports/python/py-numpy/Portfile 2016-02-15 15:41:34 UTC (rev 145736)
@@ -8,6 +8,7 @@
github.setup numpy numpy 1.10.4 v
name py-numpy
+
categories-append math
license BSD
platforms darwin
@@ -129,6 +130,10 @@
BLAS=/usr/lib
}
+ platform darwin 8 {
+ patchfiles-append patch-Tiger-without-dflcn-header.diff
+ }
+
post-patch {
reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" \
${worksrcpath}/numpy/f2py/setup.py
Added: trunk/dports/python/py-numpy/files/patch-Tiger-without-dflcn-header.diff
===================================================================
--- trunk/dports/python/py-numpy/files/patch-Tiger-without-dflcn-header.diff (rev 0)
+++ trunk/dports/python/py-numpy/files/patch-Tiger-without-dflcn-header.diff 2016-02-15 15:41:34 UTC (rev 145736)
@@ -0,0 +1,11 @@
+--- numpy/_build_utils/src/apple_sgemv_fix.c.orig
++++ numpy/_build_utils/src/apple_sgemv_fix.c
+@@ -94,7 +94,7 @@
+ * AVX and the OS version is Mavericks */
+ AVX_and_10_9 = AVX && MAVERICKS;
+ /* load vecLib */
+- veclib = dlopen(VECLIB_FILE, RTLD_LOCAL | RTLD_FIRST);
++ veclib = dlopen(VECLIB_FILE, 0x4 | 0x100);
+ if (!veclib) {
+ veclib = NULL;
+ snprintf(errormsg, sizeof(errormsg),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160215/086e0e91/attachment.html>
More information about the macports-changes
mailing list