Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id CDA337A28D for ; Sat, 3 Dec 2016 03:42:46 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 43D04855C4; Sat, 3 Dec 2016 03:42:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C5C1E855C0 for ; Sat, 3 Dec 2016 03:42:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 20Ab08DPIuVQ for ; Sat, 3 Dec 2016 03:42:45 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2393D85583 for ; Sat, 3 Dec 2016 03:42:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 16400FBA6; Sat, 3 Dec 2016 03:42:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1480736565166830" MIME-Version: 1.0 Date: Sat, 3 Dec 2016 03:42:45 +0000 From: "John Marino" Subject: CVS commit: pkgsrc/math/blas To: pkgsrc-changes@NetBSD.org Reply-To: marino@netbsd.org X-Mailer: log_accum Message-Id: <20161203034245.16400FBA6@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1480736565166830 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: marino Date: Sat Dec 3 03:42:45 UTC 2016 Modified Files: pkgsrc/math/blas: Makefile Log Message: math/blas: Restore build on DragonFly Linking blas with the gold linker fails with this error: fatal error: --sysroot=: must take a non-empty argument DragonFly has been using the gold linker by default for a while now. Since I don't have time to track down this linking problem, I'm going to restore the build on DragonFly by setting an environment variable that forces DF to use the classic GNU linker instead. At this point in time, I don't know if BLAS is unique or if LAPACK and others need the same workaround. If the latter, this variable may need to be moved to the common LAPACK makefile. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 pkgsrc/math/blas/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1480736565166830 Content-Disposition: inline Content-Length: 822 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/math/blas/Makefile diff -u pkgsrc/math/blas/Makefile:1.34 pkgsrc/math/blas/Makefile:1.35 --- pkgsrc/math/blas/Makefile:1.34 Tue Oct 18 14:08:48 2016 +++ pkgsrc/math/blas/Makefile Sat Dec 3 03:42:44 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2016/10/18 14:08:48 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2016/12/03 03:42:44 marino Exp $ .include "../../math/lapack/Makefile.common" @@ -10,6 +10,12 @@ PATCHDIR= ${.CURDIR}/../../math/lapack/p BUILD_TARGET= blaslib +# 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 + do-install: ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.la \ ${DESTDIR}${PREFIX}/lib --_----------=_1480736565166830--