From 11d99e8948d8d18df310f9b11d4a3b3b14fd3aeb Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 12 Dec 2016 14:24:59 +0000 Subject: Wrap Dragonfly specific workaround in .if ${OPSYS} == "DragonFly" --- math/lapack/Makefile.common | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'math') 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 -- cgit v1.2.3