pkgsrc-WIP-changes archive

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

lapacke-ng: use mk/blas.buildlink3.mk



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Mon Mar 25 01:29:51 2019 +0100
Changeset:	d2160b540a40795539c08d9a5957ffdd1865b0f5

Modified Files:
	lapacke-ng/Makefile

Log Message:
lapacke-ng: use mk/blas.buildlink3.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d2160b540a40795539c08d9a5957ffdd1865b0f5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lapacke-ng/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diffs:
diff --git a/lapacke-ng/Makefile b/lapacke-ng/Makefile
index b51807b13d..a60376288c 100644
--- a/lapacke-ng/Makefile
+++ b/lapacke-ng/Makefile
@@ -4,9 +4,10 @@ COMMENT=	C interface to a LAPACK library
 LAPACK_PART=	lapacke
 LAPACK_PART_CMAKE_ARGS=	\
 	-DUSE_OPTIMIZED_BLAS=ON \
-	-DBLAS_LIBRARIES="-lblas" \
-	-DUSE_OPTIMIZED_LAPACK=ON \
-	-DLAPACK_LIBRARIES="-llapack" \
+        -DBLAS_LIBRARIES=${BLAS_LIBS:Q} \
+        -DUSE_OPTIMIZED_LAPACK=ON \
+        -DLAPACK_LIBRARIES=${LAPACK_LIBS:Q} \
 	-DCBLAS=OFF -DLAPACKE=ON
 
+.include "../../mk/blas.buildlink3.mk"
 .include "../lapack-ng/Makefile.common"


Home | Main Index | Thread Index | Old Index