diff options
author | marino <marino@pkgsrc.org> | 2016-12-04 22:51:55 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2016-12-04 22:51:55 +0000 |
commit | e2a89876ec482ee21970c4bb7d85a477d64b2a2b (patch) | |
tree | 00d8dc1e0840805d33e7331694659d528ae46f9a /math | |
parent | 03ff63bcef8f61332d1f80a52cd6ddbd83b04007 (diff) | |
download | pkgsrc-e2a89876ec482ee21970c4bb7d85a477d64b2a2b.tar.gz |
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 (limited to 'math')
-rw-r--r-- | math/py-numpy/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index c2336b1ac1d..8daebf5baac 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -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 @@ MAKE_ENV+= ATLAS=None 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" |