summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pybind11/pybind11-3.0.0-r1.ebuild (renamed from dev-python/pybind11/pybind11-3.0.0.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/pybind11/pybind11-3.0.0.ebuild b/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
}