Received: by mail.netbsd.org (Postfix, from userid 605) id 87D1D84E08; Tue, 6 Mar 2018 01:43:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AF7F484D5B for ; Tue, 6 Mar 2018 01:43:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id jcMK0kFnR9h0 for ; Tue, 6 Mar 2018 01:43:44 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 33BC084D45 for ; Tue, 6 Mar 2018 01:43:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2B1EEFB40; Tue, 6 Mar 2018 01:43:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1520300624208840" MIME-Version: 1.0 Date: Tue, 6 Mar 2018 01:43:44 +0000 From: "Min Sik Kim" Subject: CVS commit: pkgsrc/math/R To: pkgsrc-changes@NetBSD.org Reply-To: minskim@netbsd.org X-Mailer: log_accum Message-Id: <20180306014344.2B1EEFB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1520300624208840 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: minskim Date: Tue Mar 6 01:43:44 UTC 2018 Modified Files: pkgsrc/math/R: Makefile Log Message: math/R: Use the Accelerate framework if it is available This package was already using libblas from the Accelerate framework on Darwin through /usr/lib/libblas.dylib. This change makes it explicit and removes unnecessary dependencies on math/blas and math/lapack. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 pkgsrc/math/R/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1520300624208840 Content-Disposition: inline Content-Length: 1496 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/math/R/Makefile diff -u pkgsrc/math/R/Makefile:1.180 pkgsrc/math/R/Makefile:1.181 --- pkgsrc/math/R/Makefile:1.180 Mon Jan 1 21:18:40 2018 +++ pkgsrc/math/R/Makefile Tue Mar 6 01:43:44 2018 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.180 2018/01/01 21:18:40 adam Exp $ +# $NetBSD: Makefile,v 1.181 2018/03/06 01:43:44 minskim Exp $ DISTNAME= R-3.4.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-3/} @@ -63,13 +63,17 @@ CONFIGURE_ARGS+= --with-x PLIST.x11= yes .endif -# Use BLAS (math/blas) +# Use BLAS +.if exists(/System/Library/Frameworks/Accelerate.framework) +CONFIGURE_ARGS+= --with-blas="-framework Accelerate" +.else CONFIGURE_ARGS+= --without-atlas CONFIGURE_ARGS+= --disable-BLAS-shlib CONFIGURE_ARGS+= --with-blas CONFIGURE_ARGS+= --without-blas_risc CONFIGURE_ARGS+= --without-dxml CONFIGURE_ARGS+= --without-libmoto +.endif # Work around missing MAIN__() definition used in -lF77 by AC_CHECK_LIB. # and other failures due to not linking to support libs during testing @@ -175,8 +179,10 @@ fix-darwin-install-name: .include "../../mk/jpeg.buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" +.if !exists(/System/Library/Frameworks/Accelerate.framework) .include "../../math/blas/buildlink3.mk" .include "../../math/lapack/buildlink3.mk" +.endif .include "../../www/curl/buildlink3.mk" .include "../../x11/tk/buildlink3.mk" --_----------=_1520300624208840--