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 | aa534277aaf98dfca8ee4e76e84d5d09c349d807 (patch) | |
tree | f6bcf7e77f5481aa3bd7a8b0c0dae5ded021d2a2 /math | |
parent | d87acc99b9dd4b5f8a19dfe03c9dca669657cc90 (diff) | |
download | pkgsrc-aa534277aaf98dfca8ee4e76e84d5d09c349d807.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" |