summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-10 03:04:13 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-10 03:04:13 +0000
commit246fb9e0153d80db3b8d7c7071f19af93608ad74 (patch)
tree76c161aacca497c195a042e11a6efe29ea573909 /dev-python/pycxx/pycxx-6.1.0.ebuild
parentEAPI=2; add joystick use dep for bug #264741 (diff)
downloadgentoo-2-246fb9e0153d80db3b8d7c7071f19af93608ad74.tar.gz
gentoo-2-246fb9e0153d80db3b8d7c7071f19af93608ad74.tar.bz2
gentoo-2-246fb9e0153d80db3b8d7c7071f19af93608ad74.zip
Fix includes (bug #280732).
(Portage version: 13970-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pycxx/pycxx-6.1.0.ebuild')
-rw-r--r--dev-python/pycxx/pycxx-6.1.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/pycxx/pycxx-6.1.0.ebuild b/dev-python/pycxx/pycxx-6.1.0.ebuild
index dbfe86558203..479af7f7a02e 100644
--- a/dev-python/pycxx/pycxx-6.1.0.ebuild
+++ b/dev-python/pycxx/pycxx-6.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/pycxx-6.1.0.ebuild,v 1.1 2009/08/05 02:54:41 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/pycxx-6.1.0.ebuild,v 1.2 2009/08/10 03:04:13 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -21,6 +21,8 @@ src_prepare() {
epatch "${FILESDIR}/${P}-setup.py.patch"
epatch "${FILESDIR}/${P}-python-3.patch"
epatch "${FILESDIR}/${P}-C_compatible_headers.patch"
+
+ sed -e "/^#include/s:/Python[23]/:/:" -i CXX/*/*.hxx || die "sed failed"
}
src_install() {