pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/blas
Module Name: pkgsrc
Committed By: marino
Date: Sat Dec 3 03:42:45 UTC 2016
Modified Files:
pkgsrc/math/blas: Makefile
Log Message:
math/blas: Restore build on DragonFly
Linking blas with the gold linker fails with this error:
fatal error: --sysroot=: must take a non-empty argument
DragonFly has been using the gold linker by default for a while now.
Since I don't have time to track down this linking problem, I'm going
to restore the build on DragonFly by setting an environment variable
that forces DF to use the classic GNU linker instead.
At this point in time, I don't know if BLAS is unique or if LAPACK
and others need the same workaround. If the latter, this variable
may need to be moved to the common LAPACK makefile.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/math/blas/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/blas/Makefile
diff -u pkgsrc/math/blas/Makefile:1.34 pkgsrc/math/blas/Makefile:1.35
--- pkgsrc/math/blas/Makefile:1.34 Tue Oct 18 14:08:48 2016
+++ pkgsrc/math/blas/Makefile Sat Dec 3 03:42:44 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2016/10/18 14:08:48 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2016/12/03 03:42:44 marino Exp $
.include "../../math/lapack/Makefile.common"
@@ -10,6 +10,12 @@ PATCHDIR= ${.CURDIR}/../../math/lapack/p
BUILD_TARGET= blaslib
+# blas 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
+
do-install:
${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.la \
${DESTDIR}${PREFIX}/lib
Home |
Main Index |
Thread Index |
Old Index