commit:     34df54d617e76d7581603c60a668b7f8ddc7efe9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 22 18:39:22 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 22 18:40:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34df54d6

dev-python/pybind11: Fix include directory in pkg-config file

Closes: https://bugs.gentoo.org/961861
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../pybind11/{pybind11-3.0.0.ebuild => pybind11-3.0.0-r1.ebuild}       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/pybind11/pybind11-3.0.0.ebuild 
b/dev-python/pybind11/pybind11-3.0.0-r1.ebuild
similarity index 93%
rename from dev-python/pybind11/pybind11-3.0.0.ebuild
rename to dev-python/pybind11/pybind11-3.0.0-r1.ebuild
index d7cf48e0c873..1004911d9002 100644
--- a/dev-python/pybind11/pybind11-3.0.0.ebuild
+++ b/dev-python/pybind11/pybind11-3.0.0-r1.ebuild
@@ -60,6 +60,9 @@ python_configure() {
        local mycmakeargs=(
                "${DISTUTILS_ARGS[@]}"
                -DPYBIND11_TEST=$(usex test)
+
+               # use absolute path to force clean prefix in pkg-config file
+               -DCMAKE_INSTALL_DATAROOTDIR="${EPREFIX}"/usr/share
        )
        cmake_src_configure
 }

Reply via email to