pkgsrc-Changes archive

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

CVS commit: pkgsrc/parallel/mpi-ch



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jan  3 12:53:16 UTC 2026

Modified Files:
        pkgsrc/parallel/mpi-ch: Makefile

Log Message:
mpi-ch: on NetBSD, depend on gcc10-libs

gcc10's fortran is used to build this, and the gfortran libraries are
linked into the installed mpi-ch libraries, so we need a dependency on
gcc10-libs at runtime.

This should be done differently (a better Fortran framework for
pkgsrc), but at least we have the required dependency now.

Bump PKGREVISION.

XXX: this package is misnamed, the PKGNAME is mpich, the directory is mpi-ch.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 pkgsrc/parallel/mpi-ch/Makefile

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

Modified files:

Index: pkgsrc/parallel/mpi-ch/Makefile
diff -u pkgsrc/parallel/mpi-ch/Makefile:1.102 pkgsrc/parallel/mpi-ch/Makefile:1.103
--- pkgsrc/parallel/mpi-ch/Makefile:1.102       Fri Aug 22 14:48:13 2025
+++ pkgsrc/parallel/mpi-ch/Makefile     Sat Jan  3 12:53:16 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.102 2025/08/22 14:48:13 wiz Exp $
+# $NetBSD: Makefile,v 1.103 2026/01/03 12:53:16 wiz Exp $
 
 DISTNAME=      mpich-3.4.3
+PKGREVISION=   1
 CATEGORIES=    parallel
 MASTER_SITES=  http://www.mpich.org/static/tarballs/${PKGVERSION_NOREV}/
 
@@ -54,12 +55,10 @@ TEST_TARGET=        check
 
 .if ${OPSYS} == "NetBSD"
 # Needed for <ISO_Fortran_binding.h>
-USE_PKGSRC_GCC=                yes
-GCC_REQD+=             10
-# TODO: false positive in library dependency resolution like:
-# ERROR: lib/libmpicxx.so.12.1.12: /usr/pkg/gcc10/lib/./libstdc++.so.7: gcc10-10.5.0nb4 is not a runtime dependency
-CHECK_SHLIBS_SKIP+=    lib/libmpicxx.so*
-CHECK_SHLIBS_SKIP+=    lib/libmpifort.so*
+USE_PKGSRC_GCC=        yes
+GCC_REQD+=     10
+# needs libgfortran.so
+DEPENDS+=      gcc10-libs-[0-9]*:../../lang/gcc10-libs
 .endif
 
 # Re-enable when at version 2.x.



Home | Main Index | Thread Index | Old Index