summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-29 01:15:58 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-29 01:15:58 +0000
commita7a076714d2b04e03119d1ce08f7030b634eb32d (patch)
treef5de783e7881e468d440e5110ee9ebd205dadb3b /sci-libs/vtk
parentVersion bump. Most importantly fixes image drawing under xorg-server-1.7/1.8 (diff)
downloadgentoo-2-a7a076714d2b04e03119d1ce08f7030b634eb32d.tar.gz
gentoo-2-a7a076714d2b04e03119d1ce08f7030b634eb32d.tar.bz2
gentoo-2-a7a076714d2b04e03119d1ce08f7030b634eb32d.zip
Use more appropriate Python getter functions.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/vtk')
-rw-r--r--sci-libs/vtk/vtk-5.4.2-r1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sci-libs/vtk/vtk-5.4.2-r1.ebuild b/sci-libs/vtk/vtk-5.4.2-r1.ebuild
index 673901bf49be..a880c2d009e7 100644
--- a/sci-libs/vtk/vtk-5.4.2-r1.ebuild
+++ b/sci-libs/vtk/vtk-5.4.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.4.2-r1.ebuild,v 1.7 2010/04/25 10:00:50 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.4.2-r1.ebuild,v 1.8 2010/04/29 01:15:58 arfrever Exp $
EAPI="2"
@@ -130,11 +130,10 @@ src_configure() {
fi
if use python; then
- PYVER="$(python_get_version)"
mycmakeargs+=(
-DVTK_WRAP_PYTHON=ON
- -DPYTHON_INCLUDE_PATH=/usr/include/python${PYVER}
- -DPYTHON_LIBRARY=/usr/$(get_libdir)/libpython${PYVER}.so
+ -DPYTHON_INCLUDE_PATH=$(python_get_includedir)
+ -DPYTHON_LIBRARY=$(python_get_library)
-DVTK_PYTHON_SETUP_ARGS:STRING=--root="${D}")
fi