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/8927a5b54075
branches:  trunk
changeset: 382470:8927a5b54075
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 210ed0da2d70 -r 8927a5b54075 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