summaryrefslogtreecommitdiff
path: root/math/py-scipy
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2018-07-05 04:31:05 +0000
committerminskim <minskim@pkgsrc.org>2018-07-05 04:31:05 +0000
commit561118228654b9e6cb7eb8a986bbe45bfe0e069a (patch)
tree86f2770a19a74d0089f656807edacebd0d633007 /math/py-scipy
parent805e0959216ce39040798b5162e132839cdeb9f0 (diff)
downloadpkgsrc-561118228654b9e6cb7eb8a986bbe45bfe0e069a.tar.gz
math/py-scipy: Add -headerpad_max_install_names in linking on Darwin
Without the link option, install_name_tool may cause an error.
Diffstat (limited to 'math/py-scipy')
-rw-r--r--math/py-scipy/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/py-scipy/Makefile b/math/py-scipy/Makefile
index 1013d54dc6b..519da002231 100644
--- a/math/py-scipy/Makefile
+++ b/math/py-scipy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2018/05/14 06:39:32 adam Exp $
+# $NetBSD: Makefile,v 1.34 2018/07/05 04:31:05 minskim Exp $
DISTNAME= scipy-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -28,6 +28,8 @@ BROKEN= Requires fortran 95
CPPFLAGS+= -D__STDC_FORMAT_MACROS
FFLAGS+= -fPIC
+LDFLAGS.Darwin+= -headerpad_max_install_names
+
REPLACE_PYTHON+= scipy/cluster/setup.py
REPLACE_PYTHON+= scipy/cluster/tests/test_hierarchy.py
REPLACE_PYTHON+= scipy/cluster/tests/test_vq.py