pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/R
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.
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"
Home |
Main Index |
Thread Index |
Old Index