| @@ -1,17 +1,23 @@ | | | @@ -1,17 +1,23 @@ |
1 | # $NetBSD: Makefile,v 1.34 2016/10/18 14:08:48 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.35 2016/12/03 03:42:44 marino Exp $ |
2 | | | 2 | |
3 | .include "../../math/lapack/Makefile.common" | | 3 | .include "../../math/lapack/Makefile.common" |
4 | | | 4 | |
5 | PKGNAME= ${DISTNAME:S/lapack/blas/} | | 5 | PKGNAME= ${DISTNAME:S/lapack/blas/} |
6 | | | 6 | |
7 | COMMENT= Basic Linear Algebra Subprograms (Fortran) | | 7 | COMMENT= Basic Linear Algebra Subprograms (Fortran) |
8 | | | 8 | |
9 | PATCHDIR= ${.CURDIR}/../../math/lapack/patches | | 9 | PATCHDIR= ${.CURDIR}/../../math/lapack/patches |
10 | | | 10 | |
11 | BUILD_TARGET= blaslib | | 11 | BUILD_TARGET= blaslib |
12 | | | 12 | |
| | | 13 | # blas fails using the gold linker with: |
| | | 14 | # fatal error: --sysroot=: must take a non-empty argument |
| | | 15 | # Work around it on DragonFly by specifying the classic gnu linker |
| | | 16 | |
| | | 17 | MAKE_ENV+= LDVER=ld.bfd |
| | | 18 | |
13 | do-install: | | 19 | do-install: |
14 | ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.la \ | | 20 | ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.la \ |
15 | ${DESTDIR}${PREFIX}/lib | | 21 | ${DESTDIR}${PREFIX}/lib |
16 | | | 22 | |
17 | .include "../../mk/bsd.pkg.mk" | | 23 | .include "../../mk/bsd.pkg.mk" |