summaryrefslogtreecommitdiff
path: root/math/py-numpy/patches/patch-numpy_distutils_command_config.py
AgeCommit message (Collapse)AuthorFilesLines
2022-05-23py-numpy: Workaround undefined-symbol errors under NetBSD at leastryoon1-0/+69
py-numpy-1.22.4's symbol check mechanism does not work for NetBSD and the other platforms, because gcc and clang calculate trivial math functions, for example, log1pl() and expm1l(), with immediate arguments, for example 0. So compiling 'log1pl(0)' is always successful even if -lm is not added to the compiler's commandline arguments. Use GNU autotools style check with ugly workaround. I have no idea about WASM case. However current mechanism will not work as expected. Bump PKGREVISION.