diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2009-08-13 18:15:13 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2009-08-13 18:15:13 +0000 |
commit | 931b22323bbe408f7845d668f495d8206e91e36c (patch) | |
tree | 4d8d728ac9631aede3fdf90c9a798b68222d7be2 /eclass | |
parent | Version bump, #276473. (diff) | |
download | historical-931b22323bbe408f7845d668f495d8206e91e36c.tar.gz historical-931b22323bbe408f7845d668f495d8206e91e36c.tar.bz2 historical-931b22323bbe408f7845d668f495d8206e91e36c.zip |
Fix bug #279252; --with-python-dir prepends the prefix to the path already, so we strip it from DATAPATH and stick the scripts in a python directory there
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9e96adbafcc3..3b935ca15aaa 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.403 2009/07/26 20:09:59 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.404 2009/08/13 18:15:13 halcy0n Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1208,6 +1208,12 @@ gcc-compiler-configure() { confgcc="${confgcc} --enable-cld" fi fi + + # Stick the python scripts in their own slotted directory + # bug #279252 + if tc_version_is_at_least "4.4" ; then + confgcc="${confgcc} --with-python-dir=${DATAPATH/$PREFIX/}/python" + fi fi # GTK+ is preferred over xlib in 3.4.x (xlib is unmaintained |