pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/arpack-ng *** empty log message ***



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3508acc164bb
branches:  trunk
changeset: 454853:3508acc164bb
user:      thor <thor%pkgsrc.org@localhost>
date:      Wed Jun 23 18:10:19 2021 +0000

description:
*** empty log message ***

diffstat:

 math/arpack-ng/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r c84a1a37a479 -r 3508acc164bb math/arpack-ng/Makefile
--- a/math/arpack-ng/Makefile   Wed Jun 23 17:37:50 2021 +0000
+++ b/math/arpack-ng/Makefile   Wed Jun 23 18:10:19 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2021/05/11 10:18:37 prlw1 Exp $
+# $NetBSD: Makefile,v 1.6 2021/06/23 18:10:19 thor Exp $
 
 DISTNAME=      arpack-ng-3.8.0
+PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=opencollab/}
 
@@ -19,6 +20,14 @@
 CMAKE_ARG_PATH=        ..
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS:BOOL=ON
 
+BLAS_ACCEPTED= netlib openblas
+.include "../../mk/blas.buildlink3.mk"
+.if ${BLAS_TYPE} == "netlib"
+CMAKE_ARGS+=   -DBLA_VENDOR=Generic
+.elif ${BLAS_TYPE} == "openblas"
+CMAKE_ARGS+=   -DBLA_VENDOR=OpenBLAS
+.endif
+
 TEST_TARGET=   test
 
 pre-configure:
@@ -26,5 +35,4 @@
 
 INSTALLATION_DIRS=     lib
 
-.include "../../mk/blas.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index