pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-scipy math/py-scipy: Add -headerpad_max_instal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d63580b64510
branches:  trunk
changeset: 310074:d63580b64510
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jul 05 04:31:05 2018 +0000

description:
math/py-scipy: Add -headerpad_max_install_names in linking on Darwin

Without the link option, install_name_tool may cause an error.

diffstat:

 math/py-scipy/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 77f13f6cf0b0 -r d63580b64510 math/py-scipy/Makefile
--- a/math/py-scipy/Makefile    Thu Jul 05 01:21:05 2018 +0000
+++ b/math/py-scipy/Makefile    Thu Jul 05 04:31:05 2018 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index