pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/lapack Wrap Dragonfly specific workaround in .if ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d5cdaf89fac
branches:  trunk
changeset: 355801:3d5cdaf89fac
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 12 14:24:59 2016 +0000

description:
Wrap Dragonfly specific workaround in .if ${OPSYS} == "DragonFly"

diffstat:

 math/lapack/Makefile.common |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 1727e8a766d6 -r 3d5cdaf89fac math/lapack/Makefile.common
--- a/math/lapack/Makefile.common       Mon Dec 12 14:23:47 2016 +0000
+++ b/math/lapack/Makefile.common       Mon Dec 12 14:24:59 2016 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index