diff options
author | wiz <wiz@pkgsrc.org> | 2016-12-12 14:24:59 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-12-12 14:24:59 +0000 |
commit | 11d99e8948d8d18df310f9b11d4a3b3b14fd3aeb (patch) | |
tree | 4e16382c9359406665a72f3ba73beaf42cb1ebf8 /math | |
parent | 5f7c642c7590358146fd5796e5959b8c4a5f60b8 (diff) | |
download | pkgsrc-11d99e8948d8d18df310f9b11d4a3b3b14fd3aeb.tar.gz |
Wrap Dragonfly specific workaround in .if ${OPSYS} == "DragonFly"
Diffstat (limited to 'math')
-rw-r--r-- | math/lapack/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/math/lapack/Makefile.common b/math/lapack/Makefile.common index d06f714e095..d94c5f6fcec 100644 --- a/math/lapack/Makefile.common +++ b/math/lapack/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2016/12/03 15:37:34 marino Exp $ +# $NetBSD: Makefile.common,v 1.5 2016/12/12 14:24:59 wiz Exp $ # used by math/blas/Makefile # used by math/lapack/Makefile @@ -19,8 +19,12 @@ PATCHDIR= ${.CURDIR}/../../math/lapack/patches INSTALLATION_DIRS= lib +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "DragonFly" # 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 +.endif |