pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-numpy math/py-numpy: Restore build on DragonFly
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d8a4f93052e
branches: trunk
changeset: 355547:2d8a4f93052e
user: marino <marino%pkgsrc.org@localhost>
date: Sun Dec 04 22:51:55 2016 +0000
description:
math/py-numpy: Restore build on DragonFly
Linking lapack with the gold linker fails with this error:
fatal error: --sysroot=: must take a non-empty argument
Similar to recent fixes to math/blas and math/lapack
diffstat:
math/py-numpy/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 59d32a8cc1d8 -r 2d8a4f93052e math/py-numpy/Makefile
--- a/math/py-numpy/Makefile Sun Dec 04 22:50:04 2016 +0000
+++ b/math/py-numpy/Makefile Sun Dec 04 22:51:55 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2016/10/31 16:26:57 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2016/12/04 22:51:55 marino Exp $
DISTNAME= numpy-1.11.2
GITHUB_PROJECT= numpy
@@ -17,6 +17,12 @@
REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
+# numpy fails using the gold linker with:
+# fatal error: --sysroot=: must take a non-empty argument
+# Work around it on DragonFly by specifying the classic gnu linker
+
+MAKE_ENV+= LDVER=ld.bfd
+
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
Home |
Main Index |
Thread Index |
Old Index