pkgsrc/math/blas/Makefile
marino 30d157bfec math/lapack: Restore build on DragonFly
Linking lapack 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.

This was already fixed on math/blas which uses the lapack common
makefile, so just relocate the fix to lapack.
2016-12-03 15:37:34 +00:00

17 lines
413 B
Makefile

# $NetBSD: Makefile,v 1.36 2016/12/03 15:37:34 marino Exp $
.include "../../math/lapack/Makefile.common"
PKGNAME= ${DISTNAME:S/lapack/blas/}
COMMENT= Basic Linear Algebra Subprograms (Fortran)
PATCHDIR= ${.CURDIR}/../../math/lapack/patches
BUILD_TARGET= blaslib
do-install:
${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.la \
${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"