commit:     909cba127b3fe89b8668e186654a2e26cd2a6d28
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May  6 15:02:35 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May  6 22:20:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909cba12

sci-libs/vtk: Remove PREFIX setting for CMake

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 | 2 +-
 sci-libs/vtk/vtk-6.1.0-r4.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/vtk/vtk-6.1.0-r3.ebuild b/sci-libs/vtk/vtk-6.1.0-r3.ebuild
index 6bac474feaf..7367f5ccbe6 100644
--- a/sci-libs/vtk/vtk-6.1.0-r3.ebuild
+++ b/sci-libs/vtk/vtk-6.1.0-r3.ebuild
@@ -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
 

diff --git a/sci-libs/vtk/vtk-6.1.0-r4.ebuild b/sci-libs/vtk/vtk-6.1.0-r4.ebuild
index 11c77033d08..9f22a8e6793 100644
--- a/sci-libs/vtk/vtk-6.1.0-r4.ebuild
+++ b/sci-libs/vtk/vtk-6.1.0-r4.ebuild
@@ -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
 

Reply via email to