summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-07-27 17:38:47 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-07-27 17:38:47 +0000
commit7f532ac95ef9f59531a21a286bab39b57a7ff5f1 (patch)
tree426bfe1b996c8571465dd0cdf58102302c87708f /sci-visualization/paraview/paraview-3.6.2.ebuild
parentVersion bump (diff)
downloadgentoo-2-7f532ac95ef9f59531a21a286bab39b57a7ff5f1.tar.gz
gentoo-2-7f532ac95ef9f59531a21a286bab39b57a7ff5f1.tar.bz2
gentoo-2-7f532ac95ef9f59531a21a286bab39b57a7ff5f1.zip
Fix for python 2.7 wrt #348151
(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/paraview/paraview-3.6.2.ebuild')
-rw-r--r--sci-visualization/paraview/paraview-3.6.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-visualization/paraview/paraview-3.6.2.ebuild b/sci-visualization/paraview/paraview-3.6.2.ebuild
index fe27c0040617..6de9fa45cd62 100644
--- a/sci-visualization/paraview/paraview-3.6.2.ebuild
+++ b/sci-visualization/paraview/paraview-3.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.6.2.ebuild,v 1.15 2011/07/27 17:11:12 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.6.2.ebuild,v 1.16 2011/07/27 17:38:47 xarthisius Exp $
EAPI="3"
@@ -88,6 +88,10 @@ src_prepare() {
sed -e "s:\${PV_INSTALL_BIN_DIR}/plugins:/usr/${PVLIBDIR}/plugins:" \
-i CMake/ParaViewPlugins.cmake \
|| die "Failed to fix plugin install directories"
+
+ # bug 348151
+ sed -e 's/CURRENT_VERSION 2.6/CURRENT_VERSION 2.7 2.6/' \
+ -i VTK/CMake/FindPythonLibs.cmake || die
}
src_configure() {