pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   marino
Date:           Sun Dec  4 22:51:55 UTC 2016

Modified Files:
        pkgsrc/math/py-numpy: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/math/py-numpy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.33 pkgsrc/math/py-numpy/Makefile:1.34
--- pkgsrc/math/py-numpy/Makefile:1.33  Mon Oct 31 16:26:57 2016
+++ pkgsrc/math/py-numpy/Makefile       Sun Dec  4 22:51:55 2016
@@ -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"
 



Home | Main Index | Thread Index | Old Index