summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-05-25 23:24:18 +0000
committerRyan Hill <rhill@gentoo.org>2010-05-25 23:24:18 +0000
commitbc29be949c333d6973e445175289b0578e3acab1 (patch)
tree22fc672b5d111f69123444cd59bbd791d7c47b45 /eclass
parentAdd urgent powernow-k8 patch which fixes turbo clock behavior for the new Phe... (diff)
downloadhistorical-bc29be949c333d6973e445175289b0578e3acab1.tar.gz
historical-bc29be949c333d6973e445175289b0578e3acab1.tar.bz2
historical-bc29be949c333d6973e445175289b0578e3acab1.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