sci-libs/vtk: Remove PREFIX setting for CMake
authorDavid Seifert <soap@gentoo.org>
Sat, 6 May 2017 15:02:35 +0000 (17:02 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 6 May 2017 22:20:01 +0000 (00:20 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4555

sci-libs/vtk/vtk-6.1.0-r3.ebuild
sci-libs/vtk/vtk-6.1.0-r4.ebuild

index 6bac474feaf376b5a2f5f9d49301262fc3225b8d..7367f5ccbe6ec896decb1d7d050ae624db8554ab 100644 (file)
@@ -291,7 +291,7 @@ src_configure() {
                        -DSIP_INCLUDE_DIR="$(python_get_includedir)"
                        -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)"
                        -DVTK_PYTHON_LIBRARY="$(python_get_library_path)"
-                       -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${PREFIX} --root=${D}"
+                       -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX}/usr --root=${D}"
                )
        fi
 
index 11c77033d0805aa012d9cc7b1cd1aa621cec07b5..9f22a8e67932b2338b82ec0e98465e38be7d3bf2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -290,7 +290,7 @@ src_configure() {
                        -DSIP_INCLUDE_DIR="$(python_get_includedir)"
                        -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)"
                        -DVTK_PYTHON_LIBRARY="$(python_get_library_path)"
-                       -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${PREFIX} --root=${D}"
+                       -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX}/usr --root=${D}"
                )
        fi