summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-03-10 02:04:46 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-03-10 02:04:46 +0000
commitf9dd710e74e717b85b3a6023f20faedfd9c91602 (patch)
tree7b0e220f0569806fcb81e354ab36041e299400ce /media-gfx/k3d
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-f9dd710e74e717b85b3a6023f20faedfd9c91602.tar.gz
gentoo-2-f9dd710e74e717b85b3a6023f20faedfd9c91602.tar.bz2
gentoo-2-f9dd710e74e717b85b3a6023f20faedfd9c91602.zip
Fix python compilation, bug #42822.
Diffstat (limited to 'media-gfx/k3d')
-rw-r--r--media-gfx/k3d/ChangeLog7
-rw-r--r--media-gfx/k3d/k3d-0.2.5.4.ebuild10
2 files changed, 13 insertions, 4 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog
index bc5bb94f5d73..cc737e8e05d1 100644
--- a/media-gfx/k3d/ChangeLog
+++ b/media-gfx/k3d/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/k3d
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.1 2003/11/10 10:57:10 brandy Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.2 2004/03/10 02:04:46 kloeri Exp $
+
+ 10 Mar 2004; Bryan Østergaard,,, <kloeri@gentoo.org> k3d-0.2.5.4.ebuild:
+ Fix python compilation, bug #42822.
*k3d-0.2.5.4 (10 Nov 2003)
diff --git a/media-gfx/k3d/k3d-0.2.5.4.ebuild b/media-gfx/k3d/k3d-0.2.5.4.ebuild
index ffaaed0f7ce4..1e199ec6efe1 100644
--- a/media-gfx/k3d/k3d-0.2.5.4.ebuild
+++ b/media-gfx/k3d/k3d-0.2.5.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.2.5.4.ebuild,v 1.1 2003/11/10 10:57:10 brandy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.2.5.4.ebuild,v 1.2 2004/03/10 02:04:46 kloeri Exp $
+
+inherit python
IUSE="truetype doc python ruby"
@@ -30,6 +32,10 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch.tar.bz2
+ # fix python compilation
+ python_version
+ sed -i -e "s:python2.2:python${PYVER}:g" configure
+
}
src_compile() {