diff options
author | adam <adam@pkgsrc.org> | 2020-04-27 19:38:23 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-04-27 19:38:23 +0000 |
commit | be0686d81b66c858df77e41d53ba9fd3f2f2b521 (patch) | |
tree | dad1dffd067f5d736deb97381566e2e5406e7357 /math | |
parent | 8a47456b80d3776b9ccf3106d2499a9c7cb73a7a (diff) | |
download | pkgsrc-be0686d81b66c858df77e41d53ba9fd3f2f2b521.tar.gz |
py-numpy: fix linker options on Darwin
Diffstat (limited to 'math')
-rw-r--r-- | math/py-numpy/distinfo | 4 | ||||
-rw-r--r-- | math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/math/py-numpy/distinfo b/math/py-numpy/distinfo index 43d2c6dbec9..d994d2dae2c 100644 --- a/math/py-numpy/distinfo +++ b/math/py-numpy/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.48 2020/04/27 17:00:35 adam Exp $ +$NetBSD: distinfo,v 1.49 2020/04/27 19:38:23 adam Exp $ SHA1 (numpy-1.18.3.zip) = 8a149a93c00eca3fa0a66985bf8f7ee9549e216f RMD160 (numpy-1.18.3.zip) = 87df6a185a7f0214ce7f209662cf215ac8f534ae @@ -6,6 +6,6 @@ SHA512 (numpy-1.18.3.zip) = afb14dec81ade556e10b7de372e9d7b01b4bf246609c5eea26ad Size (numpy-1.18.3.zip) = 5435268 bytes SHA1 (patch-numpy_distutils_fcompiler_____init____.py) = 49d070da5b48bd9818b37ac3254341fa68503c53 SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed -SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 893b0556f869543074cb74d5d4385d2f155004ec +SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = d8e48b30799f08cec219fe501f6de8326c899822 SHA1 (patch-numpy_distutils_system__info.py) = ca5bd3b70c2c6d9178ab92b2432dd8734a5923a7 SHA1 (patch-numpy_linalg_lapack__litemodule.c) = e97ec871c2f33c3121b3c8471a9e5a74c3c798c8 diff --git a/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py index 7e0bb2ffc0e..b8b16d4f826 100644 --- a/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py +++ b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py @@ -1,9 +1,9 @@ -$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.15 2020/03/26 08:33:36 jperkin Exp $ +$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.16 2020/04/27 19:38:23 adam Exp $ Linker needs -shared explictly (at least with GCC 4.7 on SunOS), plus any ABI flags as appropriate. Do not generate debug symbols (remove '-g'). -On OS X, do not use '-bundle' and 'dynamic_lookup' (to avoid Python.framework). +On Darwin, do not use '-bundle' (to avoid Python.framework). Do not use -funroll-loops compiler flag. Do not run a shell command when it is "None". @@ -43,7 +43,7 @@ Do not run a shell command when it is "None". warnings.warn(s, stacklevel=2) - opt.extend(['-undefined', 'dynamic_lookup', '-bundle']) -+ opt.extend(['-undefined']) ++ opt.extend(['-undefined', 'dynamic_lookup']) else: opt.append("-shared") if sys.platform.startswith('sunos'): |