Currently .pc files are installed in /usr/lib64/petsc/lib/pkgconfig/ please put them in the usual /usr/lib64/pkgconfig/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f36a0ce2d4741e60807bf6ff9d0858dbc96585 commit a6f36a0ce2d4741e60807bf6ff9d0858dbc96585 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2022-12-28 05:11:20 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2022-12-28 06:24:50 +0000 sci-mathematics/petsc: add 3.18.2 Closes: https://bugs.gentoo.org/722612 Closes: https://bugs.gentoo.org/846428 Closes: https://bugs.gentoo.org/846425 Closes: https://bugs.gentoo.org/846422 Closes: https://bugs.gentoo.org/846431 Signed-off-by: Matthias Maier <tamiko@gentoo.org> sci-mathematics/petsc/Manifest | 1 + sci-mathematics/petsc/petsc-3.18.2.ebuild | 236 ++++++++++++++++++++++++++++++ 2 files changed, 237 insertions(+)