From bc29be949c333d6973e445175289b0578e3acab1 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Tue, 25 May 2010 23:24:18 +0000 Subject: [PATCH] Document the insanity that is --with-python-dir a bit better as requested by darkside. --- eclass/toolchain.eclass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 @@ -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 -- 2.26.2