diff options
author | wiz <wiz> | 2016-12-12 14:24:59 +0000 |
---|---|---|
committer | wiz <wiz> | 2016-12-12 14:24:59 +0000 |
commit | 720a2527fcd0ba28c3c02745aaabe76d9a247c86 (patch) | |
tree | 4e16382c9359406665a72f3ba73beaf42cb1ebf8 /math/lapack/Makefile.common | |
parent | d4ae7d0da6755ada232bddc81eadc88e8dc6bc27 (diff) | |
download | pkgsrc-720a2527fcd0ba28c3c02745aaabe76d9a247c86.tar.gz |
Wrap Dragonfly specific workaround in .if ${OPSYS} == "DragonFly"
Diffstat (limited to 'math/lapack/Makefile.common')
-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 |