diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2007-05-06 22:11:12 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2007-05-06 22:11:12 +0000 |
commit | 73f98dc800994952422249a7010c32737c0d8040 (patch) | |
tree | eeac245caefc5378f1884c88082ffd215997e6d1 /eclass/python.eclass | |
parent | Stable on alpha wrt bug #175791 (diff) | |
download | gentoo-2-73f98dc800994952422249a7010c32737c0d8040.tar.gz gentoo-2-73f98dc800994952422249a7010c32737c0d8040.tar.bz2 gentoo-2-73f98dc800994952422249a7010c32737c0d8040.zip |
Fix multilib issue, bug 171931. Thanks to Daniel Drake <dsd@gentoo.org> for reporting the issue and providing the patch.
Diffstat (limited to 'eclass/python.eclass')
-rw-r--r-- | eclass/python.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/python.eclass b/eclass/python.eclass index a359c12f1d1c..ba4b48115bb5 100644 --- a/eclass/python.eclass +++ b/eclass/python.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.31 2007/02/03 02:10:23 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.32 2007/05/06 22:11:12 kloeri Exp $ # # Author: Alastair Tse <liquidx@gentoo.org> # @@ -17,7 +17,7 @@ # orphaned *.pyc *.pyo # python_makesym() - Makes /usr/bin/python symlinks -inherit alternatives +inherit alternatives multilib if [[ -n "${NEED_PYTHON}" ]] ; then @@ -185,8 +185,8 @@ python_mod_optimize() { fi ebegin "Byte compiling python modules for python-${PYVER} .." - python${PYVER} ${myroot}/usr/lib/python${PYVER}/compileall.py ${compileopts} $@ - python${PYVER} -O ${myroot}/usr/lib/python${PYVER}/compileall.py ${compileopts} $@ + python${PYVER} ${myroot}/usr/$(get_libdir)/python${PYVER}/compileall.py ${compileopts} $@ + python${PYVER} -O ${myroot}/usr/$(get_libdir)/python${PYVER}/compileall.py ${compileopts} $@ eend $? } |