summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-05-25 23:24:18 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-05-25 23:24:18 +0000
commit7ff455f9e1ea2178a17f92eb8542c7268ca36d3f (patch)
tree9f5370db4d55cac4907f1740d8af0096cce47041 /eclass
parentAdd urgent powernow-k8 patch which fixes turbo clock behavior for the new Phe... (diff)
downloadgentoo-2-7ff455f9e1ea2178a17f92eb8542c7268ca36d3f.tar.gz
gentoo-2-7ff455f9e1ea2178a17f92eb8542c7268ca36d3f.tar.bz2
gentoo-2-7ff455f9e1ea2178a17f92eb8542c7268ca36d3f.zip
Document the insanity that is --with-python-dir a bit better as requested by darkside.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 66501fae9a95..c7bfdfbcbf75 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.425 2010/04/25 18:04:48 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.426 2010/05/25 23:24:18 dirtyepic Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1216,6 +1216,14 @@ gcc-compiler-configure() {
# Stick the python scripts in their own slotted directory
# bug #279252
+ #
+ # --with-python-dir=DIR
+ # Specifies where to install the Python modules used for aot-compile. DIR
+ # should not include the prefix used in installation. For example, if the
+ # Python modules are to be installed in /usr/lib/python2.5/site-packages,
+ # then –with-python-dir=/lib/python2.5/site-packages should be passed.
+ #
+ # This should translate into "/share/gcc-data/${CTARGET}/${GCC_CONFIG_VER}/python"
if tc_version_is_at_least "4.4" ; then
confgcc="${confgcc} --with-python-dir=${DATAPATH/$PREFIX/}/python"
fi