dev-python/pybind11: Another fix for .pc prefix, with working tests

Closes: https://bugs.gentoo.org/961861
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-08-23 07:36:56 +02:00
parent 4f7e11e7d5
commit f2caa9279a
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E

View File

@ -61,8 +61,8 @@ python_configure() {
"${DISTUTILS_ARGS[@]}"
-DPYBIND11_TEST=$(usex test)
# use absolute path to force clean prefix in pkg-config file
-DCMAKE_INSTALL_DATAROOTDIR="${EPREFIX}"/usr/share
# fix missing prefix, https://bugs.gentoo.org/961861
-Dprefix_for_pc_file="${EPREFIX}"/usr
)
cmake_src_configure
}