pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/arpack-ng



Module Name:    pkgsrc
Committed By:   thor
Date:           Wed Jun 23 18:10:19 UTC 2021

Modified Files:
        pkgsrc/math/arpack-ng: Makefile


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/arpack-ng/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/arpack-ng/Makefile
diff -u pkgsrc/math/arpack-ng/Makefile:1.5 pkgsrc/math/arpack-ng/Makefile:1.6
--- pkgsrc/math/arpack-ng/Makefile:1.5  Tue May 11 10:18:37 2021
+++ pkgsrc/math/arpack-ng/Makefile      Wed Jun 23 18:10:19 2021
@@ -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 @@ CONFIGURE_DIRS=      ${OBJDIR}
 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 @@ pre-configure:
 
 INSTALLATION_DIRS=     lib
 
-.include "../../mk/blas.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index