sci-libs/vtk: Fix installation path for CMake files
authorRafael Palomar <rafael.palomar@rr-research.no>
Fri, 3 Apr 2020 13:26:51 +0000 (15:26 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 5 Apr 2020 19:47:16 +0000 (21:47 +0200)
On amd64, installation will drop files in /usr/lib64
except for CMake files which will be installed on /usr/lib.

This fixes the installation path for the CMake files (/usr/lib64).

Revision bump vtk-8.1.0-r4 --> vtk-8.1.0-r5

Signed-off-by: Rafael Palomar Ávalos <rafael.palomar@rr-research.no>
Closes: https://github.com/gentoo/gentoo/pull/15213
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-libs/vtk/vtk-8.1.0-r5.ebuild [moved from sci-libs/vtk/vtk-8.1.0-r4.ebuild with 99% similarity]

similarity index 99%
rename from sci-libs/vtk/vtk-8.1.0-r4.ebuild
rename to sci-libs/vtk/vtk-8.1.0-r5.ebuild
index e0fa62ad1ca7bcc9d2e28149e25f34ba8e07bd7e..18c95fceeae9617849a8fa60bbda742e0bf1b0b9 100644 (file)
@@ -152,6 +152,7 @@ src_configure() {
                -Wno-dev
                -DVTK_DIR="${S}"
                -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir)
+               -DVTK_INSTALL_PACKAGE_DIR="$(get_libdir)/cmake/${PN}-${SPV}"
                -DVTK_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
                -DVTK_DATA_ROOT="${EPREFIX}/usr/share/${PN}/data"
                -DVTK_CUSTOM_LIBRARY_SUFFIX=""