summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2015-02-23 21:26:12 +0100
committerSebastian Pipping <sebastian@pipping.org>2015-02-23 21:35:39 +0100
commitb9bb484eae7a6f2029321724b010d9fce3bf4c13 (patch)
tree74ea05cb3abb97329afbfb1543b3f19a6509433b
parentmedia-gfx/blender: Fix runtime dependencies (diff)
downloadblender-gentoo-logo-b9bb484eae7a6f2029321724b010d9fce3bf4c13.tar.gz
blender-gentoo-logo-b9bb484eae7a6f2029321724b010d9fce3bf4c13.tar.bz2
blender-gentoo-logo-b9bb484eae7a6f2029321724b010d9fce3bf4c13.zip
media-gfx/blender: Force to use Python 2.2
-rw-r--r--media-gfx/blender/blender-2.26.ebuild5
-rw-r--r--media-gfx/blender/blender-2.31a.ebuild3
2 files changed, 7 insertions, 1 deletions
diff --git a/media-gfx/blender/blender-2.26.ebuild b/media-gfx/blender/blender-2.26.ebuild
index 5b52d28..3d016f2 100644
--- a/media-gfx/blender/blender-2.26.ebuild
+++ b/media-gfx/blender/blender-2.26.ebuild
@@ -19,6 +19,7 @@ LICENSE="|| ( GPL-2 BL )"
KEYWORDS="~x86 ~ppc"
DEPEND="virtual/x11
+ dev-lang/python:2.2
>=media-libs/openal-20020127
>=media-libs/libsdl-1.2
>=media-libs/libvorbis-1.0
@@ -29,3 +30,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-compile-*.patch
eautoreconf
}
+
+src_configure() {
+ PYTHON=python2.2 econf
+}
diff --git a/media-gfx/blender/blender-2.31a.ebuild b/media-gfx/blender/blender-2.31a.ebuild
index 7bb49c9..89f5ffa 100644
--- a/media-gfx/blender/blender-2.31a.ebuild
+++ b/media-gfx/blender/blender-2.31a.ebuild
@@ -20,6 +20,7 @@ LICENSE="|| ( GPL-2 BL )"
KEYWORDS="~x86 ~ppc"
DEPEND="virtual/x11
+ dev-lang/python:2.2
blender-game? ( dev-games/ode )
sdl? ( media-libs/libsdl )
jpeg? ( media-libs/jpeg )
@@ -73,7 +74,7 @@ src_configure() {
# Build the plugin (Will fail, requires gameblender)
# use blender-plugin && myconf="${myconf} --enable-blenderplugin"
- econf ${myconf} || die
+ PYTHON=python2.2 econf ${myconf} || die
}
src_compile() {