Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B408784F4B for ; Tue, 19 Dec 2023 11:53:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id SI6JxMThV-vh for ; Tue, 19 Dec 2023 11:53:02 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0BE7884D4C for ; Tue, 19 Dec 2023 11:53:02 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 054D4FA42; Tue, 19 Dec 2023 11:53:02 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_170298678170850" MIME-Version: 1.0 Date: Tue, 19 Dec 2023 11:53:01 +0000 From: "Dr. Thomas Orgis" Subject: CVS commit: pkgsrc/math/superlu To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: thor@netbsd.org X-Mailer: log_accum Message-Id: <20231219115302.054D4FA42@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_170298678170850 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: thor Date: Tue Dec 19 11:53:01 UTC 2023 Modified Files: pkgsrc/math/superlu: Makefile Log Message: math/superlu: fix pkg-config usage and hence BLAS usage To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 pkgsrc/math/superlu/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_170298678170850 Content-Disposition: inline Content-Length: 1390 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/math/superlu/Makefile diff -u pkgsrc/math/superlu/Makefile:1.34 pkgsrc/math/superlu/Makefile:1.35 --- pkgsrc/math/superlu/Makefile:1.34 Tue Dec 19 10:34:09 2023 +++ pkgsrc/math/superlu/Makefile Tue Dec 19 11:53:01 2023 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.34 2023/12/19 10:34:09 thor Exp $ +# $NetBSD: Makefile,v 1.35 2023/12/19 11:53:01 thor Exp $ DISTNAME= superlu-6.0.1 +PKGREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GITHUB:=xiaoyeli/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -9,18 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://portal.nersc.gov/project/sparse/superlu/ COMMENT= Library for solving large, sparse, nonsymmetric systems of linear equations +USE_TOOLS= cmake pkg-config USE_CMAKE= yes USE_LANGUAGES= c fortran TEST_TARGET= test CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON -# Does not use C interface, also somehow has broken FindBLAS usage. CMAKE_ARGS+= -DTPL_ENABLE_INTERNAL_BLASLIB=OFF -CMAKE_ARGS+= -DTPL_BLAS_LIBRARIES=${BLAS_LIBS:Q} -# Keeping those here. In future, that should work and replace the -# above. Need upstream bug report. -#CMAKE_ARGS+= -DBLA_PREFER_PKGCONFIG=ON -#CMAKE_ARGS+= -DBLA_PKGCONFIG_BLAS=${BLAS_PC} +CMAKE_ARGS+= -DBLA_PREFER_PKGCONFIG=ON +CMAKE_ARGS+= -DBLA_PKGCONFIG_BLAS=${BLAS_PC} .include "../../mk/blas.buildlink3.mk" .include "../../mk/bsd.pkg.mk" --_----------=_170298678170850--