head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.2 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.3.0.6 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.4 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.2 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.2.0.6 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.4 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.2 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.1.0.16 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.14 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.12 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.10 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.8 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.6 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.4 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.2 pkgsrc-2022Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2026.02.07.08.27.14; author wiz; state Exp; branches; next 1.4; commitid 0pkGAxOenpTu9qtG; 1.4 date 2026.01.04.11.35.18; author wiz; state Exp; branches; next 1.3; commitid y2771g57lgyLh4pG; 1.3 date 2025.04.10.16.40.34; author thor; state Exp; branches; next 1.2; commitid h3toIxg2WuVyAwQF; 1.2 date 2024.08.25.06.19.01; author wiz; state Exp; branches; next 1.1; commitid BcrSL94SO85mvanF; 1.1 date 2022.08.25.22.58.00; author thor; state Exp; branches; next ; commitid qD7q2ltX8qS7xjRD; desc @@ 1.5 log @scalapack: switch to https @ text @# $NetBSD: Makefile,v 1.4 2026/01/04 11:35:18 wiz Exp $ DISTNAME= scalapack-2.2.0 PKGREVISION= 1 CATEGORIES= math MASTER_SITES= https://www.netlib.org/scalapack/ EXTRACT_SUFX= .tgz MAINTAINER= thor@@NetBSD.org HOMEPAGE= https://www.netlib.org/scalapack/ COMMENT= Scalable Linear Algebra PACKage LICENSE= modified-bsd USE_TOOLS+= pkg-config USE_LANGUAGES= c fortran CFLAGS+= -Wno-implicit-function-declaration .include "../../devel/cmake/build.mk" CMAKE_CONFIGURE_ARGS= -DBLA_PREFER_PKGCONFIG=on \ -DBLA_PKGCONFIG_LAPACK=${LAPACK_PC:Q} \ -DBLA_PKGCONFIG_BLAS=${BLAS_PC:Q} \ -DBUILD_SHARED_LIBS=ON TEST_TARGET= test TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/lib PKGCONFIG_OVERRIDE+= scalapack.pc.in .include "../../mk/blas.buildlink3.mk" .include "../../mk/mpi.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.4 log @scalapack: fix build on NetBSD-current @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/04/10 16:40:34 thor Exp $ d6 1 a6 1 MASTER_SITES= http://www.netlib.org/scalapack/ d10 1 a10 1 HOMEPAGE= http://www.netlib.org/scalapack/ @ 1.3 log @math/scalapack: avoid installing dodgy cmake files I had a user software build break because it used cmake to locate scalapack. This breaks because of the MPI::MPI_C introduced to fix MPI linking (patch from upstream). Without find_package(MPI) being run the same context, that symbol is not defined, and I do not know if it should be present at all. Point being: Client software locates and builds with scalapack just fine using the pkg-config file. No need to mess with cmake at all. Also, I am _not_ upgrading to the somewhat-released 2.2.2, as upstream needs time to sort out their process. There are no proper tarballs anymore, just tag archives, and even then the version number in there does not match the tag (2.2.1 vs. 2.2.2). Let them sort that out. Then revisit. Another topic is the library versioning intent on introducing unnecessary ABI breaks. Upstream needs help. Anyone got free time? @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/08/25 06:19:01 wiz Exp $ d17 2 @ 1.2 log @*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2022/08/25 22:58:00 thor Exp $ d4 1 a13 1 USE_CMAKE= yes d17 1 @ 1.1 log @math/scalapack: import from WIP, parallel LAPACK library @ text @d1 1 a1 1 # $NetBSD$ d17 1 a17 1 CMAKE_ARGS= -DBLA_PREFER_PKGCONFIG=on \ @